• Advertisement

Archived

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

Up, At, Right

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

If you intended to correct an error in the post then please contact us.

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 this post


Link to post
Share on other sites
Advertisement
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 this post


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

Share this post


Link to post
Share on other sites

  • Advertisement