HDK: matrix decomposition

   3312   2   0
User Avatar
Member
128 posts
Joined: July 2005
Offline
Does HDK contains any tools to perform transformation matrix decomposition? For example, we build a one-matrix, rotate it to rx/ry/rz euler angles, performed quaternion rotation on it and wish to get new set of euler angles. Last step is a problem, because it looks not like UT_Matrix3 contains appropriate method.

Thank you!
Anything that flies
User Avatar
Member
4349 posts
Joined: July 2005
Offline
There isn't a single method which does all that but you could use UT_Matrix3::rotate, UT_Matrix3::crack and UT_Quaternion::rotate to do various rotations and then extract the resulting Euler angles.
if(coffees<2,round(float),float)
User Avatar
Member
128 posts
Joined: July 2005
Offline
Oh! it looks like “crack” - is a real thing !
Thank you!
Anything that flies
  • Quick Links