Mxj object converting a rotation matrix to axis-angle format

This Java for Max object will convert a rotation matrix, appearing as a list of joint rotation data from the Osceleton  Kinect input interface, into an Axis-angle format that can be used as a parameter for the jit.anim.node object for control of 3D avatars.

The code is dirty and without support for singularity at the moment. It is based on an example taken from Euclideanspace.

It has yet to be tested thoroughly, but please take it and use or make changes as you please.


Screen Shot 2012-03-17 at 1.24.10 PM

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>