Sie sind nicht angemeldet.

1

Donnerstag, 4. Juni 2009, 16:17

smooth

Quellcode

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

Freitag, 5. Juni 2009, 16:45

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

Ähnliche Themen