nurb:BeginSurface()
#GLU_MAP2_VERTEX_3
or #GLU_MAP2_VERTEX_4
. To mark the end of the NURBS surface definition, call nurb:EndSurface().
Trimming of NURBS surfaces is supported with nurb:BeginTrim(), nurb:PwlCurve(), nurb:Curve(), and nurb:EndTrim(). See nurb:BeginTrim for details.
GL evaluators are used to render the NURBS surface as a set of polygons. Evaluator state is preserved during rendering with
gl.PushAttrib() (#GLU_EVAL_BIT
) and gl.PopAttrib(). See gl.PushAttrib for details on exactly what state these calls preserve.
Please consult an OpenGL reference manual for more information.