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

Thursday, February 25th 2010, 3:54pm

Is it possible to make endless loop virtual tour presentation?

I would like to make endless loop of virtual tour where the scenes would change after one spin around the room. www.virtualni-prohlidka.eu/VRs/papillon
I was asked to do this for company which need to show the interior on fair. The intetion is to run presentation without any control.

Thank you for your answer, Ondra

This post has been edited 1 times, last edit by "xgetze00" (Feb 25th 2010, 10:03pm)


Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

2

Monday, March 1st 2010, 1:38am

just make an loop with actions, going from 1 panorama to another, then finally back to the first again.
nextpanorama_1.xml

Source code

1
2
3
4
5
6
<events onpreviewcomplete="starttour()" />
<action name="starttour">
lookto(90,10,45);
lookto(45,10,45);
loadpano(nextpanorama_2.xml);
</action>


nextpanorama_2.xml

Source code

1
2
3
4
5
6
<events onpreviewcomplete="starttour()" />
<action name="starttour">
lookto(90,10,45);
lookto(45,10,45);
loadpano(nextpanorama_1.xml);
</action>


This is quick and sloppy. But the onpreviewcomplete event, fires starttour, every time it's done loading. It will look around, and then load the next panorama you define. There are tons of other methods to get the effect desired (like turning on autorotate, define a timer (in xml, flash, javascript) that ticks down from 60sec and then load the next panorama)
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

Similar threads