3 ms·
BTW, since you mention the Catmull-Rom spline later on, it might be worth-while to mention it is proven that only centripetal CR splines will never form cusps a
by vanderZwan 10y ago
BTW, since you mention the Catmull-Rom spline later on, it might be worth-while to mention it is proven that only centripetal CR splines will never form cusps and self-intersections:
> In this paper we prove that, for cubic Catmull-Rom curves, centripetal parameterization is the only parameterization in this family that guarantees that the curves do not form cusps or self-intersections within curve segments.
http://www.cemyuksel.com/research/catmullrom_param/catmullrom_cad.pdf http://www.cemyuksel.com/research/catmullrom_param/catmullro...
(speaking as someone who gets slightly twitchy whenever he sees interpolated animations go bad)
- TheRealPomax 10y agoPlease file this over on the repo - since we're dealing with CR/Bezier equivalence, there's technically nothing wrong with the fact that a CR spline might have a cusp if the corresponding Bezier does, too.
- vanderZwan 10y agoTrue, it is not a technical bug, but it can be a visual one that the artist did not intend to have ;)