Hi All,
i have make a tour with intro effects, who works well, but i don't know how to switch to "normal" view when they are finished,
here is my code :
Code
<!-- startup action - load the first pano/scene -->
<action name="startup" autorun="onstart">
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
loadscene(get(startscene), null, MERGE);
if(startactions !== null, startactions() );
</action> <events onloadcomplete="delayedcall(0.0, vue_1()); delayedcall(6, vue_2()); delayedcall(10, vue_3()); delayedcall(10, vue_4());" />
<action name="vue_1">
tween(view.hlookat, 0, 4, easeOutBack);
tween(view.vlookat, -90, 4, easeOutBack);
tween(view.fov, 360, 5, easeInCirc);
tween(view.fisheye, 1, 5.25, easeInOutQuad);
tween(vlookat_moveforce,+1); </action>
<action name="vue_2">
tween(view.hlookat, 0, 5, easeOutBack);
tween(view.vlookat, -90, 4, easeOutBack);
tween(view.fov, 360, 10, easeInCirc);
tween(view.normal, 10, 10, easeInOutQuad);
tween(vlookat_moveforce,-1, 10); ); </action>
<action name="vue_3">
tween(view.hlookat, 0, 5, easeOutBack);
tween(view.vlookat, 0, 4, easeOutBack);
tween(fovtype, MFOV, 4, easeOutBack);
tween(view.fov, 120, 10, easeInCirc);
tween(view.normal, 10, 10, easeInOutQuad);
</action>
<action name="vue_4">
skin_view_look_straight();
tween(view.architectural, 0.0, distance(1.0,0.5));
tween(view.pannini, 0.0, distance(1.0,0.5));
tween(view.fisheye, 0.0, distance(1.0,0.5));
tween(vlookat_moveforce,+0.5, 3);
</action>
<scene name="scene_equi-02_final" title="equi-02 final" onstart="" thumburl="panos/equi-02_final.tiles/thumb.jpg" lat="" lng="" heading="">
<view stereographic="true" fisheye="100" hlookat="180" vlookat="90" fovtype="VFOV" fov="360" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/equi-02_final.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="6144" tiledimageheight="6144">
<cube url="panos/equi-02_final.tiles/%s/l4/%v/l4_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="3072" tiledimageheight="3072">
<cube url="panos/equi-02_final.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/equi-02_final.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/equi-02_final.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
</image>
<!-- place your scene hotspots here -->
Display More
Thanks for your help and have a nice day.
Gabriel.