When do I need to use quaternions?

后端 未结 6 1098
逝去的感伤
逝去的感伤 2021-02-01 05:29

I have been carrying out 2D and 3D operations, including graphics, for many years and have never used quaternions so I don\'t have a feel for them. I know that they can be used

6条回答
  •  一向
    一向 (楼主)
    2021-02-01 06:09

    They have a smaller memory footprint than rotation matrices and they are more efficient than both matrix and angle/axis representations.

    Also:

    • It's extremely easy to interpolate between two quaternions, which is useful for smooth camera movements etc.
    • Unit normalisation of floating point quaternions suffers from fewer rounding defects than matrix representations.

提交回复
热议问题