Hi,

I'd like to help, but don't know what you are asking...

Vincent Bourdier wrote:
> Hi all,
> 
> I just have a little question, because I'm not sure of something about 
> quat :
> 
> I have to quat q1 and q2
> 
> To pass form q1 to q2 I've made q = q1.inverse()*q2
> 
> But even if the result angle looks correct... the vector or rotation 
> looks very little :
Is this vector _of_ rotation? Where is this vector coming from?

> 
> vec : 2.71051e-020,  -2.71051e-020, 1.0842e-019
> 
> Sometimes it is 0 0 0...
> 
> Do I have to get the vector, normalize it and set it to the quat ? or is 
> the vector lenght important ?
Normalising 0 0 0 (or something close to it) is bound to give you 
headaches. What do you want to use the vector for?

Please provide more context.

jp

> 
> thanks,
> 
> regards,
>    Vincent
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to