jit.gl.handle output

Mar 11, 2006 at 1:03am

jit.gl.handle output

hi …

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

thanks martin.

#24830
Mar 13, 2006 at 11:01am

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.

#72382
Mar 13, 2006 at 11:26am

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

#72383
Mar 13, 2006 at 5:11pm

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

#72384

You must be logged in to reply to this topic.