[quake3-bugzilla] [Bug 5199] IQM joint matrices wrong

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Aug 25 10:58:02 EDT 2011


https://bugzilla.icculus.org/show_bug.cgi?id=5199

gimhael <matthias.bentrup at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthias.bentrup at googlemail
                   |                            |.com

--- Comment #3 from gimhael <matthias.bentrup at googlemail.com> 2011-08-25 10:58:01 EDT ---
The IQM format uses quaternions to store the rotation part of the joint
matrixes. 

For the animation it also needs the inverse joint matrixes. The reference
implementation just uses an adhoc matrix inversion algorithm while I computed
the same result by computing the matrix of the inverse quaternion (but I made
some mistakes so it worked only when scale == 1.0).

The matrix inversion is not a general matrix inversion as you find it in a math
book, but it's specialized to the matrixes produced by JointToMatrix, so I was
a bit suspicious that it works in all cases and chose the inverse quaternion
solution instead. The operational cost of both is basically the same.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list