📄 fglubegincurve.html
字号:
<HTML><BODY><PRE> <STRONG>NAME</STRONG> <STRONG>fgluBeginCurve,</STRONG> <STRONG>fgluEndCurve</STRONG> - delimit a NURBS curve definition <STRONG>FORTRAN</STRONG> <STRONG>SPECIFICATION</STRONG> SUBROUTINE <STRONG>fgluBeginCurve</STRONG>( CHARACTER*8 <EM>nurb</EM> ) SUBROUTINE <STRONG>fgluEndCurve</STRONG>( CHARACTER*8 <EM>nurb</EM> ) <STRONG>PARAMETERS</STRONG> <EM>nurb</EM> Specifies the NURBS object (created with <STRONG>fgluNewNurbsRenderer</STRONG>). <STRONG>DESCRIPTION</STRONG> Use <STRONG>fgluBeginCurve</STRONG> to mark the beginning of a NURBS curve definition. After calling <STRONG>fgluBeginCurve</STRONG>, make one or more calls to <STRONG>fgluNurbsCurve</STRONG> to define the attributes of the curve. Exactly one of the calls to <STRONG>fgluNurbsCurve</STRONG> must have a curve type of <STRONG>GL_MAP1_VERTEX_3</STRONG> or <STRONG>GL_MAP1_VERTEX_4</STRONG>. To mark the end of the NURBS curve definition, call <STRONG>fgluEndCurve</STRONG>. GL evaluators are used to render the NURBS curve as a series of line segments. Evaluator state is preserved during rendering with <STRONG>glPushAttrib</STRONG>(<STRONG>GL_EVAL_BIT</STRONG>) and <STRONG>glPopAttrib</STRONG>(). See the <STRONG>glPushAttrib</STRONG> reference page for details on exactly what state these calls preserve. <STRONG>EXAMPLE</STRONG> The following commands render a textured NURBS curve with normals; texture coordinates and normals are also specified as NURBS curves: gluBeginCurve(nobj); gluNurbsCurve(nobj, ..., GL_MAP1_TEXTURE_COORD_2); gluNurbsCurve(nobj, ..., GL_MAP1_NORMAL); gluNurbsCurve(nobj, ..., GL_MAP1_VERTEX_4); gluEndCurve(nobj); <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG> <STRONG>fgluBeginSurface</STRONG>, <STRONG>fgluBeginTrim</STRONG>, <STRONG>fgluNewNurbsRenderer</STRONG>, <STRONG>fgluNurbsCurve</STRONG>, <STRONG>glPopAttrib</STRONG>, <STRONG>glPushAttrib</STRONG></PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -