Damn dirty quaternions

Started by
11 comments, last by GameDev.net 19 years, 2 months ago
ok will give it a go,
i.e convert quaternions to matrices and then multiply them together.

Cheers

DRB2k2
Advertisement
Quote:Original post by Anonymous Poster
Could it be that the product of tow quaternion is different than the product of two matrices.

q0 * q1 != r0 * r1

I believe this can be and was proof on another thread

Don't sure what you mean.
I tested my quaternion lib by checking that
quaternion_to_matrix(q1)*quaternion_to_matrix(q2)
is nearly equal(except for roundoff errors) to
quaternion_to_matrix(q1*q1)
Though, if you use different convention that is IMHO confusing, it might be equal to
quaternion_to_matrix(q2*q1)
You are right I was wrong

This topic is closed to new replies.

Advertisement