Name
nurb:BeginCurve -- mark the beginning of a NURBS curve definition
Synopsis
nurb:BeginCurve()
Function
Use nurb:BeginCurve() to mark the beginning of a NURBS curve definition. After calling nurb:BeginCurve(), make one or more calls to nurb:Curve() to define the attributes of the curve. Exactly one of the calls to nurb:Curve() must have a curve type of #GLU_MAP1_VERTEX_3 or #GLU_MAP1_VERTEX_4. To mark the end of the NURBS curve definition, call nurb:EndCurve().

GL evaluators are used to render the NURBS curve as a series of line segments. 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.

Inputs
none


Show TOC