> From: Hai Ning <[EMAIL PROTECTED]>
>
> can someone point me to the formula such that:
>
> given the 4 by 4 transform matrix, it calculates
> the translation(x, y, z), rotation(x, y, z) and
> the scale factor(x, y, z)?

The "formula" is rather involved.  Look for the "Single Value Decomposition"
alorithm in a computational math book.

If you just want to get these values, see the Transform3D get() methods. These
will return the scale, translation and quanternion rotation for a Transform.

Doug Gehringer



===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to