3D splines
Is it possible to do a 3D-Spline that actually reaches all of the points, not just the end ones...
I''ve been useing the catmullromspline for 2D, but as I have recently tried doing some 3D stuff, I''ve found anything like the catmullromspline....does a similar spline exist in 3D at all?
Yes. There seems to be a variey of solutions to this. Personally
I have used Hermite splines succesfully to connect a series of
3D points succesfully. All you need for each point is a tangent
vector to indicate the direction of the spline at that point.
You can then use a Hermite spline to connect each pair of points.
Because the spline has both the co-ordinate and tangent of the
end point, it connects perfectly with the spline for the next
pair of points.
I have used Hermite splines succesfully to connect a series of
3D points succesfully. All you need for each point is a tangent
vector to indicate the direction of the spline at that point.
You can then use a Hermite spline to connect each pair of points.
Because the spline has both the co-ordinate and tangent of the
end point, it connects perfectly with the spline for the next
pair of points.
why not do your 2D routine 3 times... once from each of the 3 directions... ie (x,y),(x,z),(y,z) axis... these 3 2D splines should easily be compined to a 3D one.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement