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, June 4th 2009, 4:17pm

smooth

Source code

1
2
3
4
5
6
7
8
9
10
	<action name="moveto2">
   	 action(startloading);
    	lookto(-110,3,30);
    	action(load2);
        	lookat(112,5,30);
    	wait(blend);
    	oninterrupt(action(lookinterrupt));
    	lookto(0,0,100,smooth(50,20,50));
    	action(loadingdone);
	</action>


Ich habe gerade die Anleitung durch gesucht aber nirgends gefunden wie sich die Werte bei smooth(50,20,50) verhalten?

Tobias

2

Friday, June 5th 2009, 4:45pm

Hallo!

Hier steht die Antwort:
http://krpano.com/docu/actions/#lookto

smooth(accel,break,maxspeed) - accelerated smooth movement (=default)
- accel = acceleration in degrees/second² (default=720)
- break = negative acceleration in degrees/second² (default=-720)
- maxspeed = maximum moving speed in degrees/second (default=720)

Viele Grüße,
Matthias