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.

1

Thursday, July 14th 2011, 12:33am

Action before autorotate

Please I made a pano, and I want look to one direction (180,15,100)and after, to another direction (90,0,90) and after goes to the autorotate with his setup.
What I have to do with the code.
thank you everybody.

2

Thursday, July 14th 2011, 6:01pm

Hi,

e.g.

Source code

1
2
3
4
5
6
7
8
<!-- to the lookto calls -->
lookto(180,15,100);
lookto(90,0,90);
<!-- now enable the autorotate and set the waittime to 0 to let it start intermediately --> 
set(autorotate.enabled,true);
set(autorotate.waittime,0);
<!-- set the waittime after one second delay back to 3 -->
delayedcall(1, set(autorotate.waittime,3); );


best regards,
Klaus

3

Thursday, July 14th 2011, 11:10pm

Thank you very much, yesterday I tried this code and it worked also.
<action name="self_move_steps">
wait(7);
lookto(70,0,40);
wait(4);
lookto(90,0,120);
autorotate(true);
</action>

But one thing. What I have to do to change to be slow and soft. The change is to fast
Thank you

4

Friday, July 15th 2011, 12:17am

Look at the lookto settings hereand add a motiontype to fit your needs.


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

There is an example with a motiontype set.

5

Saturday, July 16th 2011, 1:08am

thank you I will try it