Sign in to follow this  

NURBS basis functions

This topic is 2825 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

Hi everyone, I'm having trouble understanding the basis functions required to calculate a NURBS surface. On wikipedia, the calculation is defined here: http://en.wikipedia.org/wiki/NURBS#Construction_of_the_basis_functions_.5B3.5D as: Ni,n = fi,nNi,n − 1 + gi + 1,nNi + 1,n − 1 However, since the calculation for Ni,n involves seemingly already knowing Ni,n I am confused. It seems like circular logic to me. Could anyone please help me understand the basis function? I understand Ni,n(u) is the value for the basis function for control point i of degree n for time value u. But I do not understand the full calculation: Ni,n = fi,nNi,n − 1 + gi + 1,nNi + 1,n − 1 I'd really appreciate a hint or explanation of how to do this calculation. Specifically given i,n and u, how do I calculate Ni,n(u)? Best Regards, David

Share this post


Link to post
Share on other sites
I've no experience with NURBS in general but noone else has answered so hopefully just looking at this mathematically will help.

They key point is that the equation is Recursive:



is only dependent on and

So since you are given that at n=0 is piecewise constant you can calculate .

Page 4 of
http://libnurbs.sourceforge.net/nurbsintro.pdf
gives a better explanation and more explicit information on what the function N actually is where n=0.

p.s. I am a mathematician by training not a computer scientist so apologies if the explanation is overly mathematical.

Share this post


Link to post
Share on other sites

This topic is 2825 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