You are not logged in.

jprieu

Beginner

  • "jprieu" started this thread

Posts: 23

Location: France, Sorgues

  • Send private message

1

Wednesday, October 5th 2016, 1:55pm

Block action

HI
All panos of my visit begin with a little planet effect but I noticed that if you click on the thumbnail of another pano the effect little planet stopped and the next panos don't starting with little planet !! So I would like that you can not click a thumbnail as the little planet effect was not finished.
Is this possible and if so is it possible to have the code? *confused*
Best regards
JP

jprieu

Beginner

  • "jprieu" started this thread

Posts: 23

Location: France, Sorgues

  • Send private message

2

Thursday, October 6th 2016, 8:32am

here is the code for all of my visit Panos start with little planet effect. So I love that we can't do anything as long as the effect is not finished
best regards
JP

<events name="little_planet_intro_always" keep="TRUE" onxmlcomplete="little_planet_view_onstart()" onloadcomplete="delayedcall(1.0, gotonormalview());" />

<action name="little_planet_view_onstart">
set(view.stereographic, true);
set(view.fisheye, 1.0);
set(view.fov, 210);
set(view.fovtype, VFOV);
set(view.fovmax, 145);
set(view.hlookat, get(view.hlookat));
set(view.vlookat, 90);
</action>


<action name="gotonormalview">
tween(view.hlookat, get(view.hlookat), 2.5, easeInOutQuad);
tween(view.vlookat, 0, 2.5, easeInOutQuad);
tween(view.fov, 100, 2.5, easeInOutQuad);
tween(view.fovmax, 100, 2.5, easeInOutQuad);
tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
wait(0.2);
set(display.flash10, on);
</action>