Advertisement

why multiply by the inverse at the end of quaternion rotations

Started by December 04, 2002 01:32 PM
0 comments, last by etran1 22 years, 2 months ago
I''ve slowly been learning quaternions and I believe I''m almost ready to implement it but I just have one question. The formula for the rotation is p = qpq^-1. Now I''ve noticed that if I just do qp, I get a rotation of half the angle that I asked for. Now, when coverting the rotation vector and angles into quaternions, you take the angle and divide it by two. If you skipped the division, couldn''t you just do qp? The answer is most likely no but I''m curious to know what the answer is. Thanks in advance. Etran
> If you skipped the division, couldn''t you just do qp?

No. This only works for vectors perpendicular to the axis of rotation. If all your vectors are like this then you can use this, but otherwise the two-sided version is necessary.
John BlackburneProgrammer, The Pitbull Syndicate

This topic is closed to new replies.

Advertisement