PDA

View Full Version : Texture mapping for NURBS



lily88
12-08-2005, 09:33 PM
I have found in msdn:
gluBeginSurface(nobj);
gluNurbsSurface(nobj, . . ., GL_MAP2_EXTURE_COORD_2);
gluNurbsSurface(nobj, . . ., GL_MAP2_VERTEX_4);
gluEndSurface(nobj);

but I am confused of hwo to determine the control points, and also the knots for the texture, are they the same with the NURBS drawn here? Thanks a lot.