You are not logged in.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

1

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,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Saturday, August 15th 2015, 6:02pm

hotspot.count
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 :: reddit.com/r/VirtualTour

Zephyr

Professional

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message

3

Sunday, August 16th 2015, 11:23am

Dont forget the http://krpano.com/docu/actions/#looktohotspot

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)

herrpedro

Intermediate

Posts: 210

Location: Lisbon

Occupation: Programmer/analyst

  • Send private message

4

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)
wait
)