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.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 764

Location: Angers - France

Occupation: Photographer

  • 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,850

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: 994

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

herrpedro

Trainee

Posts: 140

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
)