4 ms·
Despite using quaternions all the time as a game developer, I’ve never really taken the time to fully understand them mathematically. My shortcut has been to t
by MattRix 5y ago
Despite using quaternions all the time as a game developer, I’ve never really taken the time to fully understand them mathematically.
My shortcut has been to think of them as a rotation around an axis. Once I thought of them that way, I was able to use them for all kinds of purposes and situations despite not having a deeper mathematical understanding.
- amitp 5y agoI think that's a good shortcut. Converting from axis-angle to quaternions is similar to switching from an angle to a vector (cos angle, sin angle). However I didn't really grok quaternions until looking at geometric algebra, and I haven't used them since then so I can't be sure my intuition is right.
- nh23423fefe 5y agoyeah seeing how e1^e2 ~= i, was pretty wild for me.
- jessermeyer 5y agoThis is because they map to rotors in geometric algebra which is exactly that. https://marctenbosch.com/quaternions/ https://marctenbosch.com/quaternions/
- Ygg2 5y agoOne way to look at it, is that quaternions are a bit complicated form of rotors https://www.youtube.com/watch?v=Idlv83CxP-8 https://www.youtube.com/watch?v=Idlv83CxP-8