You are not logged in.

  • "officinepanottiche" started this thread

Posts: 130

Location: Venezia

Occupation: interactive pictures

  • Send private message

1

Thursday, August 11th 2011, 6:29pm

"wait the pano to be loaded"

I have a tour, I have hotspots calling the other panorama through zoom-on-hotspot and actions.

Source code

1
2
3
4
5
6
7
<action name="v1-v2">
	loadscene(scene_video2-video, MERGE, BLEND(1.5)); 
	
	lookat(212,5,70);                          	<!-- guarda porta v3 -->
	wait(0.5);
	lookto(105,-24,106, smooth(20,20,20));   		<!-- guarda stanza video2-->
  </action>


this result in moving the panorama BEFORE it is loaded.
No idea of a "wait the pano to be loaded" function?!

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Thursday, August 11th 2011, 7:13pm

http://krpano.com/docu/actions/#wait

Takes parameters.
parameter
any number - this the time the action will wait in seconds
LOAD - wait until loading is finished
BLEND - wait until loading and blending are finished
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • "officinepanottiche" started this thread

Posts: 130

Location: Venezia

Occupation: interactive pictures

  • Send private message

3

Friday, August 12th 2011, 10:51am

Sacha, you saved the day!
:-)