Houdini's matrices and extracting trans,rot,scale
mstory at xion.org
Wed Oct 27 16:39:29 EDT 2004
I'm puzzled about the correct way to extract the translation, rotation
and scale vectors from a matrix in Houdini. I can't find any examples
but I thought for sure this would work:
int foo2 = current_input_xform.explode(xformOrder, rot, scale, trans);
It appears that the translation and scale vectors return with good data,
but the rotation is a whole 'nother story!
Would some kind soul please point out what I've missed?
More information about the Sidefx-devkit-list