News for hackers. Stuff that matters.
Re:Books for Game Developers by xeonmc on Friday September 15, 2023 @06:39PM (#37529955)
Ultimately, the “canonical” representation of rotation state is still axis angles, thanks to Euler’s theorem (any combo of rotation results in one rotation around some final axis)

(normalized) Quaternions are just the intermediate-representations of axis-angles, they describe the component-wise algebra of combining rotations.

Game engines just leaves them as quaternions for performance reasons.

A 2D analogy would be

    “angle” <-> [quaternion]
    “45deg” <-> [sqrt2 , sqrt2]
The [ Re , Im ] form is convenient for manipulating combinations of different operations, but the “final” succinct representation is still “angle”, because the component-wise form has more degrees of freedom than necessary

There are no comments on this comment yet.