ms a écrit :
> I'm trying to do the following:
> I have 2 frames, F1, F2, represented by matrices.
> I need to align the Z axis of F1 to the Z axis of F2. I'm hoping to do
> this using Quaternions, but I'm not clear
> on the geometric interpretation of quaternion multiplication.
>
> This is what I have:
> 1) get the angle b/n the 2 Z axes, and a normal vector to both
> 2) construct a quat from this angle/normal vector (Qmove)
> 3) construct a quat from F1 (Q1)
> 4) set F1 = quat_to_matrix( Qmove*Q1)
Hello,
I think this is not a OpenGL specific question, this kind of question
could be posted in comp.graphics.algorithms or sci.math or
comp.games.development.programming.algorithms...
You can even check on "google groups" if something similar hasn't been
posted earlier:
http://groups.google.com/
Hope this can help,
David


|