Hey all. My current project right now has an aspect which is not my forté. Hopefully you guys with strong matrix manipulation skills can advise the "pipeline" guy... I'm dev'ing a library that reads and delivers Kinect sensor data to Maya. The joint orientation data is delivered as 3x3 rotation matrices. As of now to get the concept working, I am converting them to Euler on the library side (via cgkit<http://cgkit.sourceforge.net/doc2/mat3.html#mat3.toEulerXYZ>), and then piping them into maya over my socket. Within Maya, for this specific example, I am just interested in applying the rotZ to my component. And I am doing that very basically right now with a rotate command to see live results.
What I would like to do is just send my 3x3 rotation matrix in its raw form and apply the rotZ via the API to the rotation of the transform. I will always be applying transformations by discrete axis (usually I only care about rz, and for translation I only care about tx/ty). Can someone give me a quick workflow suggestion of 3x3 rotation matrix -> add rz to QTransformationMatrix ? I know I will need to pad it out to 4x4, and create an MMatrix, but once I have that I am pretty weak on the concept of the matrix operations. -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
