You are not logged in.

milotimbol

Intermediate

  • "milotimbol" started this thread

Posts: 242

Location: Philippines

Occupation: Software Developer

  • Send private message

1

Sunday, March 8th 2009, 1:17pm

Lensflare working with editor only

Hi,

I can't make a lensflare appear. It does show up when the editor is on but when I copy and paste the lensflareset xml bit and save the xml and refresh nothing happens. I tried putting krpano_default_flares.jpg in all the subdirectories where I think krpano could look for it but still nothing happened. I also tried changing the url of the lensflare image to a non existent file. When I refreshed I did not see any messages saying it cannot find that file. Before I used to see this message when the image was misplaced now I don't get any erros/warnings.

I attached my xml file. its prettry simple no hotspots just preview, image, and the lensflare. What could be causing the lensflare to not appear?

Thanks,
Milo
milotimbol has attached the following file:
  • sportivo.xml (1.84 kB - 105 times downloaded - latest: Oct 14th 2023, 5:55pm)

Virtual Northland

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Sunday, March 8th 2009, 3:36pm

you are missing this line. the data you have just displays the images used to make the lensflare look for this in your xml and paste it in and it will work I made the same mistake myself.

<!-- Lensflare -->

<lensflare name="lf0" set="DEFAULT" visible="true" ath="38.0132" atv="-41.6932" size="0.80" blind="0.60" blindcurve="4.00" />

3

Sunday, March 8th 2009, 7:45pm

Hi,

<lensflareset> defines only a style(=set) for lensflares

a lensflare itself is defined by <lensflare>

best regards,
Klaus

milotimbol

Intermediate

  • "milotimbol" started this thread

Posts: 242

Location: Philippines

Occupation: Software Developer

  • Send private message

4

Monday, March 9th 2009, 1:49am

Virtual Northland / klaus

Thanks for the replies! Newbie mistake. It's working now *smile*

Milo

panotour.ge

Beginner

Posts: 11

Location: Tbilisi, GEorgia

Occupation: architectore, designer

  • Send private message

5

Tuesday, April 5th 2011, 11:15pm

hello please help me . where is mistek in this code. after " lensflareset"


<krpano version="1.0.8">

<include url="skin/defaultskin.xml" />

<view hlookat="0" vlookat="0" maxpixelzoom="1.0" />
<display details="22" />


<preview url="church-by-the-name-of-kovlad-cmindata.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="955" progressive="false">
<level tiledimagewidth="1910" tiledimageheight="1910">

<left url="church-by-the-name-of-kovlad-cmindata.tiles/l2_l_%0v_%0h.jpg" />
<front url="church-by-the-name-of-kovlad-cmindata.tiles/l2_f_%0v_%0h.jpg" />
<right url="church-by-the-name-of-kovlad-cmindata.tiles/l2_r_%0v_%0h.jpg" />
<back url="church-by-the-name-of-kovlad-cmindata.tiles/l2_b_%0v_%0h.jpg" />
<up url="church-by-the-name-of-kovlad-cmindata.tiles/l2_u_%0v_%0h.jpg" />
<down url="church-by-the-name-of-kovlad-cmindata.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="955" tiledimageheight="955">
<left url="church-by-the-name-of-kovlad-cmindata.tiles/l1_l_%0v_%0h.jpg" />
<front url="church-by-the-name-of-kovlad-cmindata.tiles/l1_f_%0v_%0h.jpg" />
<right url="church-by-the-name-of-kovlad-cmindata.tiles/l1_r_%0v_%0h.jpg" />
<back url="church-by-the-name-of-kovlad-cmindata.tiles/l1_b_%0v_%0h.jpg" />
<up url="church-by-the-name-of-kovlad-cmindata.tiles/l1_u_%0v_%0h.jpg" />
<down url="church-by-the-name-of-kovlad-cmindata.tiles/l1_d_%0v_%0h.jpg" />
</level>
</image>

<lensflareset name="DEFAULT" url="%SWFPATH%/krpano_default_flares.jpg">
<flare pixsize="128"
pixupos="0"
pixvpos="0"
color="0xFFFFFF"
pos="0.0"
scale="0.1"
/>
<flare ... />
<flare ... />
...
</lensflareset>


</krpano>

6

Tuesday, April 5th 2011, 11:26pm

Replace all of the ... with actual code to show the flares.

Similar threads