Archived

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

Up, At, Right

This topic is 5522 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Are there any major advantages to Quaternions, vs. an Up, At, Right Matrix? Seeing as the vectors are normalized, you could store 2 components of 2 vectors and figure out all the other components, so they can be stored fairly compactly. Interpolations seem to be fine, as long as you renormalize the interpolated vector. Gimbal lock is not a problem as far as I can tell. I''m new quaternions, and just need a brief (you''re wrong/you''re right) to see if I''m thinking about it the right way.

Share on other sites
Gimbal lock is only a problem with Euler angles, not matrices or quaternions.

You could just store four elements of the matrix and use the fact that the rows and columns are unit vectors to recreate the full matrix. But this will be quite expensive to do, and any errors will accumulate in the elements of the matrix you calculate, in particular in the matrix element opposite the four elements you store.

As for interpolations, quaternion interpolation is an order of magnitude more efficient than matrix interpolation. If you don''t need to intepolate rotations you should be OK, but as soon as you want to interpolate rotations you''ll want to be using quaternions.

Share on other sites
That''s about what I was thinking, I just wasn''t sure. Thanks.

1. 1
2. 2
3. 3
Rutin
18
4. 4
JoeJ
14
5. 5

• 14
• 10
• 23
• 9
• 33
• Forum Statistics

• Total Topics
632631
• Total Posts
3007539
• Who's Online (See full list)

There are no registered users currently online

×