Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Quaternions concatenation is the sum of angles ? (2)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • This topic is locked This topic is locked
3 replies to this topic

#1 hbdevelop1   Members   -  Reputation: 113

Like
0Likes
Like

Posted 28 November 2012 - 08:46 AM

Hello,

With the two quaterions q1=q2=(cos theta/2, sin theta/2, 0, 0)
Does the product q1q2 yield a third quaternion q3 equals (cos theta, sin theta, 0, 0) ?

This is the result I am expecting to have from my quaternion class, but I don't have it.
My expectation is based on the fact that the concatenation of q1 and q2 will yield a quaternion representing both rotations. That means, for me, the sum of the angles each quaternion represents if the rotations are around the same vector.

So, does the product q1q2 yield a third quaternion q3 equal (cos theta, sin theta, 0, 0) ?
Or is there anything wrong with my assumption ?

Thank you in advance

Sponsor:

#2 Álvaro   Crossbones+   -  Reputation: 13684

Like
0Likes
Like

Posted 28 November 2012 - 08:50 AM

The other thread is sufficient. Please, some mod close this one.

#3 J. Evola's Apprentice   Members   -  Reputation: 307

Like
0Likes
Like

Posted 28 November 2012 - 08:50 AM

In mathematical world - yes.
In programming world - not necessarily, because of floating point rounding errors.
Read this: http://floating-point-gui.de/

#4 Brother Bob   Moderators   -  Reputation: 8454

Like
0Likes
Like

Posted 28 November 2012 - 08:58 AM

The other thread is sufficient. Please, some mod close this one.

Indeed; closing.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS