You are not logged in.

Dear visitor, welcome to 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.



  • "jeromebg" started this thread

Posts: 861

Location: Angers - France

Occupation: Photographer

  • Send private message


Saturday, August 15th 2015, 5:12pm

Hotspots autotour ?

Hi, looking for a solution to make an action to run a hotspot autotour :
build an index of all the hotspots and then zoom to the first hotspot, zoomout, zoom to the second hotspot... in a loop of course !

Any ideas ?

THX !!!

Posts: 1,855

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message


Saturday, August 15th 2015, 6:02pm

and callwith is basically all you need with a for loop and some delayed calls.

You can spruce it up with random numbers, sequentially filtering and other hotspots that need to be filtered.
Sorry I can't give it away for free, I spent a good chunk of time on it. There's quite a few more details that make it non-annoying.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter ::



Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message


Sunday, August 16th 2015, 11:23am

Dont forget the

The trick is to order them on closest to furthest and timings (you dont want to move in 10 seconds to somethings thats close, or 1 second to something that is far away)



Posts: 163

Location: Lisbon

Occupation: Programmer/analyst

  • Send private message


Sunday, August 16th 2015, 1:12pm

as for the time.. just add a xml attribute in the hotspot with "timeToWatch" in seconds and , after looking at a hotspot do a wait before looking at a new one
something like
for i= 0 to hotspots count (
copy hostpot to currentspot
lookat (correntspot ath atv etc)