On Jul 14, 2008, at 9:57 AM, John Clayton wrote:
Huh?
Question 1: Why do X and Z get very close to PI?
Question 2: Why does Y end up being 1.02 when I set it to 2.12041?
Does anyone know what's going on here? I'm a little stumped by this
one.
The simple answer is that with a 4x4 rotation matrix, there are a
number of distinct matrices that are mathematically equivalent. Note
that 3.14 - 2.12 = 1.02 and that X & Z were flipped 180 degrees.
Effectively your seeing the solver for reversing an arbitrary 4x4
matrix into x/y/z rotations making certain simplifying assumptions
that don't match what you are expecting.
--
David Duncan
Apple DTS Animation and Printing
[EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]