I have constructed a (cubic) Bezier spline from some input points by building a Catmull Rom spline first and then convert it to a Bezier spline. I want to manipulate the individual control vertices now, but maintain C1 continuity.
The best I came up with so far is this:
- If I manipulate a knot I can use the same strategy as used for Catmull Rom splines (e.g. compute the tangent and update also the incoming and outgoing vertex)
- If I manipulate an 'internal' control vertex I might just apply the equal and opposite translation to the corresponding vertex to keep them aligned.
I googled for spline/curve editing/manipulation, but couldn't find anything useful so I was wondering if anyone can point me into the right direction.