Forums > Jitter

jit.gl.handle output

March 11, 2006 | 1:03 am

hi …

could anyone describe the jit.gl.handles output. i don’t understand the four values for "rotate".

thanks martin.


March 13, 2006 | 11:01 am

x y z and amount I believe

rotation of x y z between 0..1 and the last one is the amount in radians.

Of the top my head that is.


March 13, 2006 | 11:26 am

it’s called angle-axis rotation (quaternion-rotation)

the four numbers are:

angle, x-component, y-component, z-component (of vector to rotate
around)

use the [rotatexyz $1 $2 $3] message for jit.gl.handle to have
"normal" rotation in angle per Cartesian dimension.

cheers

/*j


March 13, 2006 | 5:11 pm

Then I would like to apologize :) My answers was not as argumented as
‘/*j’s and clearly flawed.


Viewing 4 posts - 1 through 4 (of 4 total)