This topic is now archived and is closed to further replies.


how to use command gluNurbsSurface

Recommended Posts

i use 16 control point to create nurb surface use this code gluBeginSurface(nurb); gluNurbsSurface(nurb, 8, knots, 8, knots, 4 * 3, 3, &nurbarray[0][0][0], 4, 4, GL_MAP2_VERTEX_3); gluEndSurface(nurb); but i don''t know meaning parameter of gluNurbsSurface for example if i want use 10 control point how to change this code.

Share this post

Link to post
Share on other sites