Rotation Splines#
There are many ways to implement rotation splines. Here we use unit quaternions to represent rotations. First, we’ll show what quaternions are, and how their subset of unit quaternions can be used to handle rotations. Based on a special form of linear interpolation called Slerp, we then use several algorithms that we have seen in the section about Euclidean splines – which all utilize linear interpolations (and extrapolations) – to implement rotation splines. In the end of this section, we present a few methods which are not based on Slerp, but it will turn out that they all have severe limitations.
- Quaternions
- Spherical Linear Interpolation (Slerp)
- De Casteljau’s Algorithm With Slerp
- Uniform Catmull–Rom-Like Quaternion Splines
- Non-Uniform Catmull–Rom-Like Quaternion Splines
- Kochanek–Bartels-like Rotation Splines
- “Natural” End Conditions
- Barry–Goldman Algorithm With Slerp
- Spherical Quadrangle Interpolation (Squad)
- Cumulative Form
- Naive 4D Quaternion Interpolation
- Naive Interpolation of Euler Angles