Rotation order from SIRotation

Date : Fri, 28 Mar 2008 11:07:38 -0400
To : <XSI(at)Softimage.COM>
From : "Mathieu Leclaire" <mleclair(at)hybride.com>
Subject : Rotation order from SIRotation

I need to pass Euler angles values to another software that uses a different rotation order then the default values from XSI. How can I extract the right values starting from an SIRotation? If I use a .GetXYZAngles() function, it returns me the values in the XYZ rotation order but I really need it in the ZYX rotation order. I guess I could use a temp null and pass it the rotation then change the rotation order and extract the new values (tempnull.rotx.value…) but I was wondering if their is an easier way to convert the data? Anyone’s got a better idea?

 

Cheers!

 

Mathieu Leclaire

R&D Programmer

Hybride Technologies

 

"Yesterday is history, tomorrow is a mystery, today is a gift and that is why it's called the present"

 


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.