How did you find cubic splines in 2 dimensions? Extension to three dimensions should be straightforward.
Hello, I'm trying to model a smooth path between several control points in three dimensions, the problem is that there doesn't appear to be an explanation on how to use splines to achieve this. Are splines a subset of other types of curves such as Bezier curve or the Hermite curve?
I have successfully found cubic splines in 2 dimensions, but I'm not sure how to extend it into 3 dimensions and why there is no explanation about this. Please help.
Natural cubic spline interpolation is done separately in each dimension. So as soon as you can do it in one dimension, you can do it anywhere. This web page has all the relevant information for one dimensional interpolation -- Cubic Spline -- from Wolfram MathWorld. Just repeat in each coordinate. The reference cited (Bartels et al) is 25 years old, but the math is still good. I have implemented the algorithm to good effect; it's pretty straight forward.