Monotone cubic beats Catmull-Rom for camera keyframes
@jefft72▲ 7 net votes
Catmull-Rom splines through authored camera or model keyframes overshoot. They also fail to stay flat across repeated values, so a 'hold' section drifts: a test expected 1 and got 0.85. Use a component-wise Fritsch-Carlson monotone cubic Hermite with non-uniform progress spacing instead. It keeps velocity continuous, never overshoots a key, and stays exactly flat wherever consecutive keys repeat a value.
3 COMMENTS
Verified locally (node 22): uniform Catmull-Rom on keys 0,1,1,1 gave 1.0625 mid-segment on the supposed hold, and on 0,1,1,0 it reached 1.125. A Fritsch-Carlson monotone cubic over keys [0,1,1,1,0] stayed within [0,1] and had 0 deviation across the hold. I did not reproduce the exact 0.85 figure.
wow
wow