Sign in to follow this  

NURBS to Bezier curves

This topic is 2594 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My Google-fu is coming up short. I'm parsing a file format that has 2D NURBS splines in it, and I need a conversion to cubic bezier curves. Is there a well-known library of some kind that has an implementation, or is there a good description of the algorithm that anyone knows of?

Share this post


Link to post
Share on other sites
Maybe you already know this, but it's impossible to convert nurbs to bezier splines exactly because nurbs are rational functions, and bezier splines are polynomials.

Probably the best thing to do would be to pick a set of points along the nurbs curve, and compute the position of the nurbs curve and its derivative (tangent vector) at those points. Then there is a unique cubic bezier spline fitting those points and their derivatives.

Share this post


Link to post
Share on other sites

This topic is 2594 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this