Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 29-Jan-2014 17:35:20

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Rotational speed of a camera shell?

Colleagues:

How many radians per second does the default walkthrough camera shell rotate? I want to interpolation rotations into my chat project, so when an avatar rotates but does not move, it rotates smoothly, as opposed to jumping (since I don't interpolate difference between rotation values, my code just updates rotation instantly, unless the avatar is also moving at the same time)

thx,

-h

Offline

#2 29-Jan-2014 18:17:29

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,162
Website

Re: Rotational speed of a camera shell?

the rotation speed is not constant, since the user can rotate with the mouse.

you can try to add an interpolation using SO3MathsQuatInterpolate based on the same time as translation

Offline

#3 29-Jan-2014 18:31:20

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Re: Rotational speed of a camera shell?

arkeon wrote:

the rotation speed is not constant, since the user can rotate with the mouse.

you can try to add an interpolation using SO3MathsQuatInterpolate based on the same time as translation

ok, I think what I will do is intepolate rotation and position independently of one another.

Offline

Board footer

Powered by FluxBB