PDA

View Full Version : gluNurbsSurface() what is knots array?



9ine
08-16-2004, 10:47 PM
What do numbers in knots array mean and why do we need them? can't clearly understand.

mikael_aronsson
08-16-2004, 11:41 PM
The knots define how the polynomial pieces are blended together with the proper smoothness.

The sequence of knots is assumed to be nondecreasing, i.e. t <= t+1. Each successive pair of knots represents an interval [t, t+1) for the parameter values to calculate a segment of a shape.

The actual values of the knots is not important, it is the relation between the knots that are used.

I suggest to take a look at this pdf (http://www.mat.ucsb.edu/~c.ramakr/articles/dls/nurbs.pdf)

Mikael

9ine
08-17-2004, 03:19 AM
thanks for link