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.

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

1

Sunday, December 21st 2008, 5:08pm

lookat before a loadpano function

Hi,

I've test this code :

Source code

1
2
3
4
<action name="action_ok">
		lookto(0,-90,60);
		loadpano(second-pano.xml,null,MERGE|KEEPVIEW,ZOOMBLEND(2,3));
</action>


The lookto function is working for the 1st pano and the 2nd, because I have the "KeepView".

But with this code :

Source code

1
2
3
4
<action name="action_ok">
 		lookat(0,-90,60);
 		loadpano(second-pano.xml,null,MERGE|KEEPVIEW,ZOOMBLEND(2,3));
 </action>


The lookat function is changing the view only for the 2nd pano, and not the 1st.

Is it a bug, or am I missing something ?

Thanks for your answer
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

2

Monday, December 22nd 2008, 4:43pm

this seems to be a bug
maybe the screen wasn't re-drawn with the current viewing angles before loading the next pano,
I will check this...

best regards,
Klaus