'\" e '\"! eqn | mmdoc '\"macro stdmacro .ds Vn Version 1.2 .ds Dt 6 March 1997 .ds Re Release 1.2.0 .ds Dp May 02 11:53 .ds Dm 37 beginsurf .ds Xs 47264 4 beginsurface.gl .\" .\" Copyright (c) 2001 The X Japanese Documentation Project. .\" .\" Permission is hereby granted, free of charge, to any person obtaining a .\" copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including .\" without limitation the rights to use, copy, modify, merge, publish, dis- .\" tribute, sublicense, and/or sell copies of the Software, and to permit .\" persons to whom the Software is furnished to do so, subject to the fol- .\" lowing conditions: .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- .\" ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT .\" SHALL THE X JAPANESE DOCUMENTATION PROJECT BE LIABLE FOR ANY CLAIM, .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of The X Japanese .\" Documentation Project shall not be used in advertising or otherwise to .\" promote the sale, use or other dealings in this Software without prior .\" written authorization from The X Japanese Documentation Project. .\" .\" X Window System is a trademark of The Open Group. .\" .\" Translated Thu Aug 30 12:43:24 JST 2001 .\" by FUJIWARA Teruyoshi .\" .TH GLUBEGINSURFACE 3G .SH 名前 .B "gluBeginSurface, gluEndSurface .\"0 \- delimit a NURBS surface definition \- NURBS 曲面の定義を区切る .SH 書式 void \f3gluBeginSurface\fP( GLUnurbs* \fInurb\fP ) .nf .fi void \f3gluEndSurface\fP( GLUnurbs* \fInurb\fP ) .nf .fi .EQ delim $$ .EN .SH 引き数 .TP \w'\f2nurb\fP\ \ 'u \f2nurb\fP .\"0 Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP). NURBS オブジェクト(\%\f3gluNewNurbsRenderer\fP を使って生成する)を 指定する。 .SH 説明 .\"0 Use \%\f3gluBeginSurface\fP to mark the beginning of a NURBS .\"0 surface definition. After .\"0 calling \%\f3gluBeginSurface\fP, make one or more calls to .\"0 \%\f3gluNurbsSurface\fP to define the attributes of the surface. NURBS 曲面の定義の開始は \%\f3gluBeginSurface\fP を使って示す。 \%\f3gluBeginSurface\fP を呼んだ後に、ひとつ以上の \%\f3gluNurbsSurface\fP を呼び出して曲面の属性を定義する。 .\"0 Exactly one of these calls to \%\f3gluNurbsSurface\fP must have a .\"0 surface type of \%\f3GL_MAP2_VERTEX_3\fP or \%\f3GL_MAP2_VERTEX_4\fP. \%\f3gluNurbsSurface\fP の呼び出し一回ごとに、 \%\f3GL_MAP2_VERTEX_3\fP または \%\f3GL_MAP2_VERTEX_4\fP 型の曲面がなければならない。 .\"0 To mark the end of the NURBS surface definition, call .\"0 \%\f3gluEndSurface\fP. NURBS 曲面の終わりを示すには \%\f3gluEndSurface\fP を呼び出す。 .P .\"0 Trimming of NURBS surfaces is supported with \%\f3gluBeginTrim\fP, .\"0 \%\f3gluPwlCurve\fP, \%\f3gluNurbsCurve\fP, and \%\f3gluEndTrim\fP. See the .\"0 \%\f3gluBeginTrim\fP reference page for details. NURBS 曲面のトリミングは \%\f3gluBeginTrim\fP, \%\f3gluPwlCurve\fP, \%\f3gluNurbsCurve\fP, \%\f3gluEndTrim\fP で行える。 詳しくは \%\f3gluBeginTrim\fP の項目を参照すること。 .P .\"0 GL evaluators are used to render the NURBS surface as a set of polygons. NURBS 曲面は、GL の評価処理を呼び出すことにより多角形の集まりとして レンダリングされる。 .\"0 Evaluator state is preserved during rendering .\"0 with \f3glPushAttrib\fP(\%\f3GL_EVAL_BIT\fP) and .\"0 \f3glPopAttrib\fP(). レンダリングの間は、評価処理の状態値は \f3glPushAttrib\fP(\%\f3GL_EVAL_BIT\fP) と \f3glPopAttrib\fP() を使って保存される。 .\"0 See the \f3glPushAttrib\fP reference page for details on exactly what state .\"0 these calls preserve. これらの関数呼び出しで保存される状態の正確な情報については \f3glPushAttrib\fP の項目を参照すること。 .SH 使用例 .\"0 The following commands render a textured NURBS surface with normals; .\"0 the texture coordinates and normals are also described as NURBS surfaces: 以下のコマンドは、法線を持ち、テクスチャ処理された NURBS 曲面を レンダリングする。 テクスチャ座標系と法線も NURBS 曲線として指定する。 .sp .Ex gluBeginSurface(nobj); gluNurbsSurface(nobj, ..., GL_MAP2_TEXTURE_COORD_2); gluNurbsSurface(nobj, ..., GL_MAP2_NORMAL); gluNurbsSurface(nobj, ..., GL_MAP2_VERTEX_4); gluEndSurface(nobj); .Ee .sp .SH 関連項目 \%\f3gluBeginCurve\fP, \%\f3gluBeginTrim\fP, \%\f3gluNewNurbsRenderer\fP, \%\f3gluNurbsCurve\fP, \%\f3gluNurbsSurface\fP, \%\f3gluPwlCurve\fP