Archived

This topic is now archived and is closed to further replies.

drslush

Matrix -> Quaternion conversion

Recommended Posts

drslush    122
I understand how quaternions can be interpolated, so I was wondering how one would convert a rotation matrix into quaternion. It seems that there can''t be a general formula, since not every transformation matrix can be represented by a quaternion. A pointer to a document or faq would be nice. I''m not trying to write a program, I''m just curious.

Share this post


Link to post
Share on other sites
Thrump    169
www.google.com

Use it. Love it.

"matrix quaternion conversion" gave me this as the first entry:

http://www.martinb.com/maths/geometry/rotations/conversions/matrixToQuaternion/

Share this post


Link to post
Share on other sites