PDA

View Full Version : How could I let a NURBS curve go through all its' cotrol points?



Benjamin
03-24-2005, 02:29 PM
How could I let a NURBS curve go through all its' cotrol points?

When we render a NURBS curve with a group of control points,as you know,these control points just on the sides of the curve.
Now I want to know,is there any methor to let all the points fix on the curve?Not just near by.

jide
03-25-2005, 01:42 AM
no, there isn't. Nurbs never pass at any control point but the first and the last if I remember well. Just draw lines or triangles if you want your faces to pass at all of your points.

maximian
03-25-2005, 06:57 AM
You can try to offset the 2 control points, some delta value in the direction of the normal at the points p1,p2 on the curve corresponding(closest) to control points. Should work in some cases.

brinck
03-25-2005, 07:50 AM
I think you could make each knot a triple knot, that is for each control point you insert three copies of it.

But in your case I think you'd be better of using hermite splines or catmull rom splines.

/A.B.