- #1
Danh860
- 1
- 0
Hi,
I am working on a a project that involves the use of B-splines. Using the information from this informative http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/bspline-curve-prop.html" I have managed to write up a simple script in VBA that allows me to construct the basis functions for a given sequence of knots and then apply this to a set of control points.
Whilst the code works and I can generate splines, I still don't have a full understanding as to how the knots influence the curve - Ultimately, I need the curve to pass through a specific control point (e.g P[k]) and be influenced by a couple of control points before and after P[k]. Additionally, the curve needs to be at least C[1] continuous at this particular control point.
Can anyone suggest the knot sequence and degree of curve that I should be using?
Many thanks,
Dan
I am working on a a project that involves the use of B-splines. Using the information from this informative http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/bspline-curve-prop.html" I have managed to write up a simple script in VBA that allows me to construct the basis functions for a given sequence of knots and then apply this to a set of control points.
Whilst the code works and I can generate splines, I still don't have a full understanding as to how the knots influence the curve - Ultimately, I need the curve to pass through a specific control point (e.g P[k]) and be influenced by a couple of control points before and after P[k]. Additionally, the curve needs to be at least C[1] continuous at this particular control point.
Can anyone suggest the knot sequence and degree of curve that I should be using?
Many thanks,
Dan
Last edited by a moderator: