Hi, I am having a few issues implementing the lens flare effect and I wonder if anyone would be kind enough to assist.
I have placed the krpano_default_flares.jpg image in the main vtour folder and I have the following code in my xml. I only have one pano to keep it simple.
<krpano version="1.16" title="Virtual Tour" onstart="startup();">
<include url="skin/vtourskin.xml" />
<!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
<skin_settings bingmaps="false"
bingmaps_key=""
bingmaps_zoombuttons="false"
gyro="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
thumbs_opened="false"
thumbs_text="false"
thumbs_dragging="true"
thumbs_onhoverscrolling="false"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
controlbar_offset="20"
/>
<plugin name="editor" url="plugins/editor.swf" keep="true" />
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<scene name="scene_IMG_7759_Panorama" title="IMG_7759 Panorama" onstart="" thumburl="panos/IMG_7759_Panorama.tiles/thumb.jpg" lat=""
lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/IMG_7759_Panorama.tiles/preview.jpg" />
<image>
<cube url="panos/IMG_7759_Panorama.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/IMG_7759_Panorama.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<lensflare name="lf1" set="DEFAULT" ath="99.439178" atv="-32.10183" />
<lensflare name="default" set="DEFAULT" ath="-69.5034" atv="-4.752" size="0.40" blind="0.30" />
</krpano>
I got the xml snippets from the editor plugin but I cannot get it to work outside the editor. Can anyone see what I am doing wrong?
Many thanks as usual.