Hello everyone,
This is another question about using splines to approximate curves.
I have now gone through the relevant chapters in Dave Eberly's book
and have a decent idea on how to make it work with the B-splines
So, the B-splines are given as:
X(u) = summation[i=0...n] N(i, d) Q(i)
So, the nice thing about the B-splines is that it can be broken down
as the linear combination of these know vectors with the control
points. So, I can now arbitrarily choose however number of control
points and try to do a least square fit with my given surface.
Now, what I want to know is whether such a basis exists for a Catmull
Rom Spline as well. Can I do the same thing with a catmull-rom spline
where given the degree and the number of control points that I wish to
use, I am then able to create the spline function and evaluate it at a
given point?
I would really appreciate your help.
Cheers,
Luca


|