I'm newbie to KRPANO tools, but very happy to use it ! very inspiring !!
i've successfully make an virtual-tour for an exhibit. (it will run on 2 x 32" iiyama touchscreens)
-> i'm guessing... no.. i'm sure ! the code is very chaotic, but it works but i'm proud and approaching to the goal !
and today ...i'm looking for little help :
-> When nobody use the "kiosk" i would like to "refresh" the display every ...5min by exemple.
and this is where I get stuck !
-> the structure is based on a "root level" (an flat pano with hotspots),
-> my goal is when the kiosk show the root-level about long time, the kiosk load one chosen scene
-> and every scene have this to going back itself to the root level.
tour.xml
...
<autorotate enabled="true"
waittime="120"
accel="0.6"
speed="3"
horizon="4.0"
tofov="100"/>
</scene>
which refer in vtourskin.xml
<!-- autotour/autoplay support -->
<autorotate enabled="calc:skin_settings.autotour == true"
waittime="5.0"
accel="0.7"
speed="4.0"
tofov="80" />
<events name="skin_autotour" keep="true"
onautorotatestart="skin_autotour_start();"
onautorotatestop="skin_autotour_stop();"
onautorotateoneround="loadscene(tunnel,null,MERGE,OPENBLEND(8, 0.0, 0.8, 0.05, easeinoutquad));"
/>
Display More
after looking the documentation i wrote this for the "rootscene".
unfortunately, every scenes goes to the scene "laminaires" and goes to the next one....
what did i miss ?
this the entire root scene called "tunnel" :
<scene name="tunnel" title="tunnel" onstart="" thumburl="" lat="" lng="" heading="">
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<image hfov="1.00" vfov="0.562500" voffset="0.00">
<flat url="panos/Tunnel-1920.tiles/tunnel_3panos-WEB.jpg" />
</image>
<hotspot name="herbier"
url="skin/bouton_herbier.png"
scale="0.76"
onloaded="tween(scale,1, 0.9,easeoutsine);"
style="skin_hotspotstyle"
ath="-0.124" atv="-0.150"
onclick="loadscene(herbier,null,MERGE,OPENBLEND(0.8, 0.0, 0.8, 0.05, easeinoutquad));"
/>
<hotspot name="maerl"
url="skin/bouton_maerl.png"
scale="0.92"
onloaded="tween(scale,1.0, 1.5,easeoutsine);"
style="skin_hotspotstyle"
ath="0.136" atv="0.011"
onclick="loadscene(maerl,null,MERGE,OPENBLEND(0.8, 0.0, 0.8, 0.05, easeinoutquad));"
/>
<hotspot name="foret"
url="skin/bouton_foret.png"
scale="0.77"
onloaded="tween(scale,1, 0.9,easeoutsine);"
style="skin_hotspotstyle"
ath="-0.229" atv="0.128"
onclick="loadscene(laminaires,null,MERGE,OPENBLEND(0.8, 0.0, 0.8, 0.05, easeinoutquad));"
/>
<events name="refreshing-display"
onloadcomplete="delayedcall(10, loadscene(laminaires,null,MERGE,OPENBLEND(8, 0.0, 0.8, 0.05, easeinoutquad)); );"
/>
<autorotate enabled="false"
/>
</scene>
Display More
if you have an idea it is welcome !! thanks !