PDA

View Full Version : how to autopan and transition between 360s?


Larry
01-23-2008, 10:57 PM
Yesterday I saw an example of a tour by Ricardo Araujo:
http://www.tourvirtualbrasil.com.br/tour_virtual_rio/index.html
that uses FPP and automatically pans and transitions between 360 views.
This is fantastic but I can't find any info anywhere on flashpanoramas.com on how to do this. Ricardo said it wasn't hard but it took some programming.

Can anyone point me in the right direction to get the info to make a tour like Ricardo's.

Thanks,
Larry Lohrman
photographyforrealestate.net
fullscreen360.blogspot.com
lohrman.com

Aifos
01-23-2008, 11:09 PM
yes! it is easy

just a couple of parameters in <global>

set:
<global
onStart="pano.pan=xxx,1000;pano.tilt=xxx,1000;pano.zoom=xxx ,1000,,next1"
next1="pano.pan=xxx,1000;pano.tilt=xxx,1000;pano.zoom=xxx ,1000,,next2"
next2="pano.pan=xxx,1000;pano.tilt=xxx,1000;pano.zoom=xxx ,1000,,next3"
next3="pano.pan=xxx,1000;pano.tilt=xxx,1000;pano.zoom=xxx ,1000,,next4"
next4="and so on"
>

pano.pan=xxx ---> set the pan value you want to move the pano
xxx,1000 ---> 1000 is the transition speed. 1000=1second
xxx,1000,,next1 ---> ,,next1 is for calling "my-on-done-function". So when the transition ends, it will call next1 funcion. Next1 function will call next2 and so on.... if you want it circular, you can tell one function to call back next1 function at the end of the transition...

and thatґs it!