Sign in to follow this  
dinaharchery

NURBS Range

Recommended Posts

Hello all, Thanks for all the help in the past, it has been most helpful. I am trying to learn the mathematics behind NonUniform Rational B-Splines and have a question that I hope someone can help me with. I have a cylinder shape that has been created from a NURBS function and two circles - one on each "end" of the cylinder. What I would like to do is "slice" the NURBS surface function such that the surface/cylinder is only rendered between the two circular "slices". I am hoping that this is just a simple problem that I am overlooking - any help would be great :). Once again, thanks.

Share this post


Link to post
Share on other sites
Maybe I am approaching this all wrong.

Does anyone know of any good algorithms for NURBS surface point inversion? Maybe I could store the points that mark the cut off of the surface as a set of [u,v] values and just generate data within that range?

Any ideas?

Thank you.

Share this post


Link to post
Share on other sites
Quote:
Original post by dinaharchery
Does anyone know of any good algorithms for NURBS surface point inversion? Maybe I could store the points that mark the cut off of the surface as a set of [u,v] values and just generate data within that range?
NURBS inversion is extremely difficult: in essence you have to invert the entire NURBS equation, and even then you must eveluate the entire surface for each inversion.

You can approximate inversion by storing the resulting mesh, along with the original u, v coordinate at each point. Then you perform intersection against the mesh, and bilinearly interpolate the u, v coordinates to find the approximate position in u, v space.

If all you want to do is clip against two circles, your best bet would probably be to perform CSG against the final mesh.

Share this post


Link to post
Share on other sites

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