ANN: Quaternion objects for max
Hi all,
I’ve just uploaded a set of quaternion helper objects for Max. You
can find more info here:
http://www.maxobjects.com/?v=libraries&id_library=111
OSX (UB) and Windows.
Enjoy!
Graham

Quaternion helper objects. Convert between quaternion, Euler,
cartesian and axis/angle representations.
quat
"Represent, store and transform a quaternion"
"The mul messsage, with a quaternion argument, rotates the stored
quaternion by the argument. bang outputs the stored value. reset sets
it to zero rotation. quat takes an optional int argument – how often
quaternions are normalized. Reduce to improve object efficiency, but
increase to avoid floating point error creeping into the angles.
Default every 30 operations."
axis2quat
Convert an axis/angle rotation (e.g. the output of jit.gl.handle) to
quaternion
euler2quat
Convert Euler rotations (azimuth/elevation/tilt or heading/attitude/
bank or yaw/pitch/roll) to quaternion
quat2axis
Convert quaternion to axis/angle rotation (e.g. most jit.gl rotate
arguments)
quat2car
Select a unit vector in the quaternion rotation
quat2car returns a unit vector representing a principal axis of the
rotation, which can be useful to accumulate positions of moving
objects for example. Argument ‘x’, ‘y’, ‘z, ‘x’, ‘y’ or ‘z’
specifies which axis is the ‘front’
quat2euler
Convert quaternion to Euler angles (azimuth/elevation/tilt or heading/
attitude/bank or yaw/pitch/roll). NOTE: there is a loss of
information in the conversion from quaternion to Euler angles. This
behaviour is matched by the original Shoemake algorithm.
quatpov
Rotate a cartesian point by a quaternion
Very nice …but no permission to download the file ..I’d love to test .
Cheers
OK, sorry about the dl permissions, seems to be a general problem on
our server these days. You should be able to download them now.
Best,
Graham
On May 23, 2007, at 1:30 PM, Graham Wakefield wrote:
> Hi all,
>
> I’ve just uploaded a set of quaternion helper objects for Max. You
> can find more info here:
>
> http://www.maxobjects.com/?v=libraries&id_library=111
>
> OSX (UB) and Windows.
>
> Enjoy!
>
> Graham
>
> 
>
>
> Quaternion helper objects. Convert between quaternion, Euler,
> cartesian and axis/angle representations.
>
> quat
> "Represent, store and transform a quaternion"
> "The mul messsage, with a quaternion argument, rotates the stored
> quaternion by the argument. bang outputs the stored value. reset
> sets it to zero rotation. quat takes an optional int argument – how
> often quaternions are normalized. Reduce to improve object
> efficiency, but increase to avoid floating point error creeping
> into the angles. Default every 30 operations."
>
> axis2quat
> Convert an axis/angle rotation (e.g. the output of jit.gl.handle)
> to quaternion
>
> euler2quat
> Convert Euler rotations (azimuth/elevation/tilt or heading/attitude/
> bank or yaw/pitch/roll) to quaternion
>
> quat2axis
> Convert quaternion to axis/angle rotation (e.g. most jit.gl rotate
> arguments)
>
> quat2car
> Select a unit vector in the quaternion rotation
> quat2car returns a unit vector representing a principal axis of the
> rotation, which can be useful to accumulate positions of moving
> objects for example. Argument ‘x’, ‘y’, ‘z, ‘x’, ‘y’ or ‘z’
> specifies which axis is the ‘front’
>
> quat2euler
> Convert quaternion to Euler angles (azimuth/elevation/tilt or
> heading/attitude/bank or yaw/pitch/roll). NOTE: there is a loss of
> information in the conversion from quaternion to Euler angles. This
> behaviour is matched by the original Shoemake algorithm.
>
> quatpov
> Rotate a cartesian point by a
grrr waaa
http://www.grahamwakefield.net
OK, sorry about the dl permissions, seems to be a general problem on
our server these days. You should be able to download them now.
Best,
Graham
On May 23, 2007, at 1:30 PM, Graham Wakefield wrote:
> Hi all,
>
> I’ve just uploaded a set of quaternion helper objects for Max. You
> can find more info here:
>
> http://www.maxobjects.com/?v=libraries&id_library=111
>
> OSX (UB) and Windows.
>
> Enjoy!
>
> Graham
>
> 
>
>
> Quaternion helper objects. Convert between quaternion, Euler,
> cartesian and axis/angle representations.
>
> quat
> "Represent, store and transform a quaternion"
> "The mul messsage, with a quaternion argument, rotates the stored
> quaternion by the argument. bang outputs the stored value. reset
> sets it to zero rotation. quat takes an optional int argument – how
> often quaternions are normalized. Reduce to improve object
> efficiency, but increase to avoid floating point error creeping
> into the angles. Default every 30 operations."
>
> axis2quat
> Convert an axis/angle rotation (e.g. the output of jit.gl.handle)
> to quaternion
>
> euler2quat
> Convert Euler rotations (azimuth/elevation/tilt or heading/attitude/
> bank or yaw/pitch/roll) to quaternion
>
> quat2axis
> Convert quaternion to axis/angle rotation (e.g. most jit.gl rotate
> arguments)
>
> quat2car
> Select a unit vector in the quaternion rotation
> quat2car returns a unit vector representing a principal axis of the
> rotation, which can be useful to accumulate positions of moving
> objects for example. Argument ‘x’, ‘y’, ‘z, ‘x’, ‘y’ or ‘z’
> specifies which axis is the ‘front’
>
> quat2euler
> Convert quaternion to Euler angles (azimuth/elevation/tilt or
> heading/attitude/bank or yaw/pitch/roll). NOTE: there is a loss of
> information in the conversion from quaternion to Euler angles. This
> behaviour is matched by the original Shoemake algorithm.
>
> quatpov
> Rotate a cartesian point by a
> jitter mailing list
> jitter@cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter
grrr waaa
http://www.grahamwakefield.net
I’ve just noticed this post – a bit slow I know, but it seems that permissions for the server are still denying access. Is there anywhere else that it can be downloaded from?
Thanks
pelado
Sorry – due to a change of policy at the ISP. Here’s the full address:
http://www.mat.ucsb.edu/~wakefield/soft/quat_release.zip
maxobjects.com should be updated now.
On Jul 16, 2007, at 3:46 PM, pelado wrote:
>
> I’ve just noticed this post – a bit slow I know, but it seems that
> permissions for the server are still denying access. Is there
> anywhere else that it can be downloaded from?
>
> Thanks
>
> pelado
grrr waaa
http://www.grahamwakefield.net
downloaded without problems. thanks very much for releasing these.
pelado
Hmmm… I’ve done nearly the same thing, except luckily slightly different. I have a set of quaternion objects for adding, multiplying, and converting to jit.gl.handletype rotation messages, but I hadn’t released them yet because I hadn’t done the help files. So now I have, for the most part. They depend heavily on the Jitter quaternion and vector functions, so they are not technically opensource, but here they are with source code nonetheless:
http://lowfrequency.org/interactivity/wiki/index.php?title=Lfo_quaternion_objects
Oh no, I misread. We’ve done mostly the same thing, and you’ve even done a bit more. Oh well, it was a good programming exercise!
Forums > Jitter