Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > help with quate...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4841 of 4907
Post > Topic >>

help with quaternions

by ms <madhuri.sethi@[EMAIL PROTECTED] > Jul 17, 2008 at 10:14 AM

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)

I don't get the result I need.

Thanks for your help.
 




 3 Posts in Topic:
help with quaternions
ms <madhuri.sethi@[EMA  2008-07-17 10:14:40 
Re: help with quaternions
singin_dav <sone@[EMAI  2008-07-18 08:34:27 
Re: help with quaternions
Ken <ken@[EMAIL PROTEC  2008-07-22 17:01:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 0:59:03 CDT 2008.