You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 14th 2013, 4:42am

Automatic change from pano to pano

Hello

I would like to know if it is possible to make a virtual tour where the tour starts with auto rotation and upon 1 full rotation it changes to the next pano and so on in an infinite loop, so by the end it starts with pano 1 again

Has anybody made this happen? If so could you let me know please.

Umalo

Professional

Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message

2

Tuesday, May 14th 2013, 9:56am

In general yes it is possible.
E.g. define on start action and than put your code what you want to be done:

<action name="startup">
loadpano(%SWFPATH%/some_file.xml, null, MERGE, BLEND(3));
set(view.architectural, 0);
set(view.fisheye, 0);
set(view.stereographic, true);
set(view.fisheye, 1.0);
set(view.fov, 140);
set(view.vlookat, 90);
wait(7);
lookto(680,0,60,smooth(10,20,60),false);

tween(view.fovmax, 155.0, distance(179, 1), easeoutquad);
tween(view.architectural, 0.0, distance(1.0, 1), easeoutquad);
tween(view.fisheye, 0.35, distance(1.0, 1), easeoutquad);

wait(10);
loadpano(%SWFPATH%/some_other_file.xml, null, MERGE, BLEND(3));
.
.
.
</action>
This is code that can't be stoped by user. Don't know if you want it or not.
If you are using all scene in one file via loadscene than adapt the code in that way.