4 ms·
Right. Just to add on, one reason Quaternions are still used in graphics (despite rotation matrices not suffering from gimbal lock either) is that they're easy
by yoklov 8y ago
Right. Just to add on, one reason Quaternions are still used in graphics (despite rotation matrices not suffering from gimbal lock either) is that they're easy to interpolate between, even if you have many.
If you just have two you can slerp (or not), but if you have a large number of them (weights from an animation system, for example), a basic weighted sum followed by normalizing is shockingly well behaved and extremely fast.
- andybak 8y agoThis is a timely comment. I've been aware of quaternions for rotation for decades but only learned yesterday that rotation matrices can be used for some use cases. I'd never heard this small fact until then and now I stumble across your comment!