'\" 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 tesscallb .ds Xs 14825 12 tesscallback.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 Tue Oct 2 20:37:09 JST 2001 .\" by FUJIWARA Teruyoshi .\" .TH GLUTESSCALLBACK 3G .SH 名前 .B "gluTessCallback .\"0 \- define a callback for a tessellation object \- テセレーションオブジェクトに対してコールバックを定義する .SH 書式 void \f3gluTessCallback\fP( GLUtesselator* \fItess\fP, .nf .ta \w'\f3void \fPgluTessCallback( 'u GLenum \fIwhich\fP, _GLUfuncptr \fICallBackFunc\fP ) .fi .EQ delim $$ .EN .SH 引き数 .TP \w'\fICallBackFunc\fP\ \ 'u \f2tess\fP .\"0 Specifies the tessellation object (created with \%\f3gluNewTess\fP). テセレーションオブジェクト(\%\f3gluNewTess\fP を使って作る) を指定する。 .TP \f2which\fP .\"0 Specifies the callback being defined. The following values are valid: 定義するコールバックを指定する。 有効な値は次の通りである: .\"0 \%\f3GLU_TESS_BEGIN\fP, .\"0 \%\f3GLU_TESS_BEGIN_DATA\fP, .\"0 \%\f3GLU_TESS_EDGE_FLAG\fP, .\"0 \%\f3GLU_TESS_EDGE_FLAG_DATA\fP, .\"0 \%\f3GLU_TESS_VERTEX\fP, .\"0 \%\f3GLU_TESS_VERTEX_DATA\fP, .\"0 \%\f3GLU_TESS_END\fP, .\"0 \%\f3GLU_TESS_END_DATA\fP, .\"0 \%\f3GLU_TESS_COMBINE\fP, .\"0 \%\f3GLU_TESS_COMBINE_DATA\fP, .\"0 \%\f3GLU_TESS_ERROR\fP, and .\"0 \%\f3GLU_TESS_ERROR_DATA\fP. \%\f3GLU_TESS_BEGIN\fP, \%\f3GLU_TESS_BEGIN_DATA\fP, \%\f3GLU_TESS_EDGE_FLAG\fP, \%\f3GLU_TESS_EDGE_FLAG_DATA\fP, \%\f3GLU_TESS_VERTEX\fP, \%\f3GLU_TESS_VERTEX_DATA\fP, \%\f3GLU_TESS_END\fP, \%\f3GLU_TESS_END_DATA\fP, \%\f3GLU_TESS_COMBINE\fP, \%\f3GLU_TESS_COMBINE_DATA\fP, \%\f3GLU_TESS_ERROR\fP, \%\f3GLU_TESS_ERROR_DATA\fP。 .TP \f2CallBackFunc\fP .\"0 Specifies the function to be called. 呼び出される関数を指定する。 .SH 説明 .\"0 \%\f3gluTessCallback\fP is used to indicate a callback to be used by a tessellation object. \%\f3gluTessCallback\fP は、テセレーションオブジェクトが 使うコールバックを指示するために使う。 .\"0 If the specified callback is already defined, then it is replaced. If .\"0 \f2CallBackFunc\fP is NULL, then the existing callback becomes undefined. 指定されたコールバックが既に定義されている場合、そのコールバックは 置き換えられる。 \f2CallBackFunc\fP が NULL ならば、現在あるコールバックは未定義の 状態にされる。 .P .\"0 These callbacks are used by the tessellation object to describe how a .\"0 polygon specified by the user is broken into triangles. Note that there .\"0 are two versions of each callback: one with user-specified polygon data .\"0 and one without. If both versions of a particular callback are specified, .\"0 then the callback with user-specified polygon data will be used. Note .\"0 that the \f2polygon_data\fP parameter used by some of the functions is .\"0 a copy of the pointer that was specified when .\"0 \%\f3gluTessBeginPolygon\fP was called. The legal callbacks are as follows: これらのコールバックはテセレーションオブジェクトが使い、 ユーザが指定したポリゴンをどのように三角形分割するのかを 記述するために使われる。 それぞれのコールバックにはふたつのバージョンがある点に注意すること: ユーザが指定したポリゴンデータを受け取るものと受け取らないものである。 あるコールバックについて両方のバージョンが指定されている場合は、 ユーザが指定したポリゴンデータを受け取るバージョンの方が使われる。 一部の関数に使われる \f2polygon_data\fP 引き数は、 \%\f3gluTessBeginPolygon\fP が呼び出された時に指定されていたポインタの コピーである点に注意すること。 指定可能なコールバックは以下の通りである: .TP 10 \%\f3GLU_TESS_BEGIN\fP .\"0 The begin callback is invoked like \f3glBegin\fP to indicate the start of .\"0 a (triangle) primitive. The function takes a single argument of type .\"0 GLenum. If the \%\f3GLU_TESS_BOUNDARY_ONLY\fP property is set to .\"0 \%\f3GL_FALSE\fP, then the argument is set to either .\"0 \%\f3GL_TRIANGLE_FAN\fP, \%\f3GL_TRIANGLE_STRIP\fP, or \%\f3GL_TRIANGLES\fP. If .\"0 the \%\f3GLU_TESS_BOUNDARY_ONLY\fP property is set to \%\f3GL_TRUE\fP, .\"0 then the argument will be set to \%\f3GL_LINE_LOOP\fP. The function .\"0 prototype for this callback is: 開始コールバックは \f3glBegin\fP のように呼ばれ、(三角形)プリミティブ の開始を示す。 この関数は GLenum 型の引き数をひとつ取る。 \%\f3GLU_TESS_BOUNDARY_ONLY\fP 属性に \%\f3GL_FALSE\fP が設定されてい る場合は、引き数には \%\f3GL_TRIANGLE_FAN\fP, \%\f3GL_TRIANGLE_STRIP\fP, \%\f3GL_TRIANGLES\fP のいずれかが設定される。 \%\f3GLU_TESS_BOUNDARY_ONLY\fP 属性に \%\f3GL_TRUE\fP が設定されている 場合は、引き数には \%\f3GL_LINE_LOOP\fP が設定される。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void begin ( GLenum type ); .Ee .RE .TP \%\f3GLU_TESS_BEGIN_DATA\fP .\"0 The same as the \%\f3GLU_TESS_BEGIN\fP callback except that it .\"0 takes an additional pointer argument. This pointer is identical to the .\"0 opaque pointer provided when .\"0 \%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback .\"0 is: \%\f3GLU_TESS_BEGIN\fP コールバックとほぼ同じであるが、ポインタ引き数 をひとつ多く取る点が異なる。 このポインタは \%\f3gluTessBeginPolygon\fP が呼ばれたときに与えられた opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void beginData ( GLenum type, void *polygon_data ); .Ee .RE .TP \%\f3GLU_TESS_EDGE_FLAG\fP .\"0 The edge flag callback is similar to \f3glEdgeFlag\fP. The function .\"0 takes a single boolean flag that indicates which edges lie on the .\"0 polygon boundary. If the flag is \%\f3GL_TRUE\fP, then each vertex .\"0 that follows begins an edge that lies on the polygon boundary, that is, .\"0 an edge that separates an interior region from an exterior one. 稜線フラグコールバックは \f3glEdgeFlag\fP に似ている。 この関数は真偽値をひとつ引き数として取り、この引き数はどの稜線が ポリゴンの境界上にあるのかを示す。 このフラグが \%\f3GL_TRUE\fP ならば、その後に続くそれぞれの頂点は ポリゴン境界上にある稜線を開始する。つまり、内部領域を外部領域と区別 する稜線を開始する。 .\"0 If the flag is \%\f3GL_FALSE\fP, then each vertex that follows begins an edge .\"0 that lies in the polygon interior. The edge flag callback (if defined) is .\"0 invoked before the first vertex callback. このフラグが \%\f3GL_FALSE\fP ならば、その後に続くそれぞれの頂点は ポリゴン内部にある稜線を開始する。 稜線フラグコールバックは(もし定義されていれば)最初の頂点コールバックの 前に呼び出される。 .IP .\"0 Since triangle fans and triangle strips do not support edge flags, the begin .\"0 callback is not called with \%\f3GL_TRIANGLE_FAN\fP or \%\f3GL_TRIANGLE_STRIP\fP .\"0 if a non-NULL edge flag callback is provided. (If the callback is .\"0 initialized to NULL, there is no impact on performance). Instead, the fans and .\"0 strips are converted to independent triangles. The function prototype .\"0 for this callback is: 三角形要素によるファン形状と三角形要素によるストリップ形状は稜線フラグ に対応していないので、NULL でない稜線フラグコールバックが指定されている 場合にも開始コールバックは \%\f3GL_TRIANGLE_FAN\fP や \%\f3GL_TRIANGLE_STRIP\fP を引き数に呼ばれることはない。 (このコールバックが NULL に初期化されていれば、性能への影響はない。) その代わりに、ファン形状やストリップ形状は独立した三角形群に変換される。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void edgeFlag ( GLboolean flag ); .Ee .RE .TP \%\f3GLU_TESS_EDGE_FLAG_DATA\fP .\"0 The same as the \%\f3GLU_TESS_EDGE_FLAG\fP callback except that it takes an additional pointer .\"0 argument. This pointer is identical to the opaque pointer provided when .\"0 \%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback .\"0 is: \%\f3GLU_TESS_EDGE_FLAG\fP コールバックに似ているが、ポインタ引き数を ひとつ多く取る点が異なる。 このポインタは \%\f3gluTessBeginPolygon\fP が呼ばれたときに与えられた opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void edgeFlagData ( GLboolean flag, void *polygon_data ); .Ee .RE .TP \%\f3GLU_TESS_VERTEX\fP .\"0 The vertex callback is invoked between the begin and end callbacks. 頂点コールバックは開始コールバックと終了コールバックの間で呼ばれる。 .\"0 It is similar to \f3glVertex\fP, and it defines the vertices of the triangles .\"0 created by the tessellation process. The function .\"0 takes a pointer as its only argument. This pointer is identical to .\"0 the opaque pointer provided by the user when the vertex was described .\"0 (see \%\f3gluTessVertex\fP). The function prototype for this callback is: このコールバックは \f3glVertex\fP に似ており、テセレーション処理で 作られた三角形群の頂点を定義する。 この関数はポインタ引き数をひとつだけ取る。 このポインタは、頂点が記述された(\%\f3gluTessVertex\fP を参照)ときに ユーザが指定した opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void vertex ( void *vertex_data ); .Ee .RE .TP \%\f3GLU_TESS_VERTEX_DATA\fP .\"0 The same as the \%\f3GLU_TESS_VERTEX\fP callback except that it takes an additional pointer .\"0 argument. This pointer is identical to the opaque pointer provided when .\"0 \%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback .\"0 is: \%\f3GLU_TESS_VERTEX\fP コールバックとほぼ同じであるが、ポインタ引き数 をひとつ多く取る点が異なる。 このポインタは \%\f3gluTessBeginPolygon\fP が呼ばれたときに与えられた opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void vertexData ( void *vertex_data, void *polygon_data ); .Ee .RE .TP \%\f3GLU_TESS_END\fP .\"0 The end callback serves the same purpose as \f3glEnd\fP. It indicates the .\"0 end of a primitive and it takes no arguments. The function prototype for this .\"0 callback is: 終了コールバックの用途は \f3glEnd\fP と同じである。 このコールバックはプリミティブの終わりを示し、引き数は取らない。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void end ( void ); .Ee .RE .TP \%\f3GLU_TESS_END_DATA\fP .\"0 The same as the \%\f3GLU_TESS_END\fP callback except that it takes an additional pointer .\"0 argument. This pointer is identical to the opaque pointer provided when .\"0 \%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback .\"0 is: \%\f3GLU_TESS_END\fP コールバックとほぼ同じであるが、ポインタ引き数 をひとつ多く取る点が異なる。 このポインタは \%\f3gluTessBeginPolygon\fP が呼ばれたときに与えられた opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void endData ( void *polygon_data); .Ee .RE .TP 10 \%\f3GLU_TESS_COMBINE\fP .\"0 The combine callback is called to create a new vertex when the tessellation .\"0 detects an intersection, or wishes to merge features. The function takes .\"0 four arguments: an array of three elements each of type GLdouble, an array .\"0 of four pointers, an array of four elements each of type GLfloat, and a .\"0 pointer to a pointer. The prototype is: 結合コールバックは、テセレーションが干渉を検出した時や 形状特徴をマージしようとした時に、新しい頂点を作るために呼び出される。 この関数は次の 4 つの引き数を取る: GLdouble 型の要素 3 つの配列、 4 つのポインタの配列、GLfloat 型の要素 4 つの配列、ポインタへのポインタ である。 関数プロトタイプを以下に示す: .RS .Ex void combine( GLdouble coords[3], void *vertex_data[4], GLfloat weight[4], void **outData ); .Ee .RE .IP .\"0 The vertex is defined as a linear combination of up to four existing vertices, .\"0 stored in \f2vertex_data\fP. The coefficients of the linear .\"0 combination are given by \f2weight\fP; these weights always add up to 1. 頂点は、既存の 4 つまでの頂点の線形結合として定義される。 この頂点は \f2vertex_data\fP に格納される。 線形結合の係数は \f2weight\fP で与える。 この重み付けにおいては、係数の合計は必ず 1 でなければならない。 .\"0 All vertex pointers are valid even when some of the weights are 0. いくつかの重みの値が 0 であっても、頂点を指す全てのポインタは有効である。 .\"0 \f2coords\fP gives the location of the new vertex. \f2coords\fP は新しい頂点の座標を与える。 .IP .\"0 The user must allocate another vertex, interpolate parameters using .\"0 \f2vertex_data\fP and \f2weight\fP, and return the new vertex pointer in .\"0 \f2outData\fP. This handle is supplied during rendering callbacks. ユーザは新しい頂点を割り当て、\f2vertex_data\fP と \f2weight\fP を 使ってパラメータを補間し、新しい頂点を指すポインタを \f2outData\fP に 返さなければならない。 この処理はレンダリングコールバックの間に与えられる。 .\"0 The user is responsible for freeing the memory some time after .\"0 \%\f3gluTessEndPolygon\fP is called. \%\f3gluTessEndPolygon\fP が呼ばれてからしばらく後に メモリを解放するのはユーザの責任である。 .IP .\"0 For example, if the polygon lies in an arbitrary plane in 3-space, .\"0 and a color is associated with each vertex, the .\"0 \%\f3GLU_TESS_COMBINE\fP callback might look like this: 例えば、ポリゴンが 3 次元空間内の任意の平面内にあり、 各頂点に色が割り当てられている場合には、\%\f3GLU_TESS_COMBINE\fP コールバックは以下のようになる: .RS .Ex void myCombine( GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut ) { VERTEX *new = new_vertex(); new->x = coords[0]; new->y = coords[1]; new->z = coords[2]; new->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r + w[3]*d[3]->r; new->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g + w[3]*d[3]->g; new->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b + w[3]*d[3]->b; new->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a + w[3]*d[3]->a; *dataOut = new; } .Ee .RE .IP .\"0 If the tessellation detects an intersection, then the \%\f3GLU_TESS_COMBINE\fP or .\"0 \%\f3GLU_TESS_COMBINE_DATA\fP callback (see below) must be defined, and it must .\"0 write a non-NULL pointer into \f2dataOut\fP. Otherwise the .\"0 \%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP error occurs, and no .\"0 output is generated. テセレーション処理が干渉を見つけた場合には、\%\f3GLU_TESS_COMBINE\fP コールバックまたは \%\f3GLU_TESS_COMBINE_DATA\fP コールバック(後述)が 定義されていなければならず、さらにこのコールバックは NULL でない ポインタを \f2dataOut\fP に書き込まなければならない。 そうでない場合は、\%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP エラー が起こり、出力はまったく行われない。 .TP .\"0 \%\f3GLU_TESS_COMBINE_DATA\fP .\"0 The same as the \%\f3GLU_TESS_COMBINE\fP callback except that it takes an additional pointer .\"0 argument. This pointer is identical to the opaque pointer provided when .\"0 \%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback .\"0 is: \%\f3GLU_TESS_COMBINE\fP コールバックとほぼ同じであるが、ポインタ引き数 をひとつ多く取る点が異なる。 このポインタは \%\f3gluTessBeginPolygon\fP が呼ばれたときに与えられた opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void combineData ( GLdouble coords[3], void *vertex_data[4], GLfloat weight[4], void **outData, void *polygon_data ); .Ee .RE .TP 10 \%\f3GLU_TESS_ERROR\fP .\"0 The error callback is called when an error is encountered. The one argument .\"0 is of type GLenum; it indicates the specific error that occurred and will be .\"0 set to one of \%\f3GLU_TESS_MISSING_BEGIN_POLYGON\fP, \%\f3GLU_TESS_MISSING_END_POLYGON\fP, .\"0 \%\f3GLU_TESS_MISSING_BEGIN_CONTOUR\fP, \%\f3GLU_TESS_MISSING_END_CONTOUR\fP, .\"0 \%\f3GLU_TESS_COORD_TOO_LARGE\fP, \%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP or .\"0 \%\f3GLU_OUT_OF_MEMORY\fP. Character .\"0 strings describing these errors can be retrieved with the .\"0 \%\f3gluErrorString\fP call. The function prototype for this callback is: エラーコールバックはエラーが起きたときに呼び出される。 このコールバックは GLenum 型の引き数をひとつ取る。 この引き数は起こったエラーを示し、 \%\f3GLU_TESS_MISSING_BEGIN_POLYGON\fP, \%\f3GLU_TESS_MISSING_END_POLYGON\fP, \%\f3GLU_TESS_MISSING_BEGIN_CONTOUR\fP, \%\f3GLU_TESS_MISSING_END_CONTOUR\fP, \%\f3GLU_TESS_COORD_TOO_LARGE\fP, \%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP, \%\f3GLU_OUT_OF_MEMORY\fP のいずれかが設定される。 これらのエラーを表す文字列は、\%\f3gluErrorString\fP の呼び出しで取得 できる。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void error ( GLenum errno ); .Ee .RE .IP .\"0 The GLU library will recover from the first four .\"0 errors by inserting the missing call(s). GLU ライブラリは、足りない呼び出しを挿入することにより、 最初の 4 つのエラーからは復帰する。 .\"0 \%\f3GLU_TESS_COORD_TOO_LARGE\fP indicates that some vertex coordinate exceeded .\"0 the predefined constant \%\f3GLU_TESS_MAX_COORD\fP in absolute value, and .\"0 that the value has been clamped. (Coordinate values must be small .\"0 enough so that two can be multiplied together without overflow.) \%\f3GLU_TESS_COORD_TOO_LARGE\fP は、座標の絶対値が 予め定義されている定数である \%\f3GLU_TESS_MAX_COORD\fP を超えている 頂点があり、その座標値が束縛を受けたことを示す。 (座標値は、ふたつの座標値を掛け合わせてもオーバーフローしない程度に 小さくなければならない。) .\"0 \%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP indicates that the tessellation .\"0 detected an intersection between two edges in the input data, and the .\"0 \%\f3GLU_TESS_COMBINE\fP or \%\f3GLU_TESS_COMBINE_DATA\fP callback was .\"0 not provided. No output is generated. \%\f3GLU_OUT_OF_MEMORY\fP indicates .\"0 that there is not enough memory so no output is generated. \%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP は、テセレーション処理が 入力データ中のふたつの稜線の干渉が検出され、 \%\f3GLU_TESS_COMBINE\fP コールバックや \%\f3GLU_TESS_COMBINE_DATA\fP コールバックが与えられなかったことを示す。 この場合には出力はまったく行われない。 \%\f3GLU_OUT_OF_MEMORY\fP は、出力結果を生成するために必要なメモリが 不足していたことを示す。 .TP \%\f3GLU_TESS_ERROR_DATA\fP .\"0 The same as the \%\f3GLU_TESS_ERROR\fP callback except that it takes an additional pointer .\"0 argument. This pointer is identical to the opaque pointer provided when .\"0 \%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback .\"0 is: \%\f3GLU_TESS_ERROR\fP コールバックとほぼ同じであるが、ポインタ引き数 をひとつ多く取る点が異なる。 このポインタは \%\f3gluTessBeginPolygon\fP が呼ばれたときに与えられた opaque なポインタと同一のものである。 このコールバックの関数プロトタイプを以下に示す: .RS .Ex void errorData ( GLenum errno, void *polygon_data ); .Ee .RE .SH 使用例 .\"0 Polygons tessellated can be rendered directly like this: テセレーション処理されたポリゴンは次のようにすると 直接レンダリングできる: .sp .Ex gluTessCallback(tobj, GLU_TESS_BEGIN, glBegin); gluTessCallback(tobj, GLU_TESS_VERTEX, glVertex3dv); gluTessCallback(tobj, GLU_TESS_END, glEnd); gluTessCallback(tobj, GLU_TESS_COMBINE, myCombine); gluTessBeginPolygon(tobj, NULL); gluTessBeginContour(tobj); gluTessVertex(tobj, v, v); ... gluTessEndContour(tobj); gluTessEndPolygon(tobj); .Ee .sp .\"0 Typically, the tessellated polygon should be stored in a display list so that .\"0 it does not need to be retessellated every time it is rendered. 普通は、テセレーション処理で得たポリゴンはディスプレイリストに格納 すべきである。そうすれば、レンダリングするたびに毎回テセレーション処理 をやり直す必要がないからである。 .SH 関連項目 \f3glBegin\fP, \f3glEdgeFlag\fP, \f3glVertex\fP, \%\f3gluNewTess\fP, \%\f3gluErrorString\fP, \%\f3gluTessVertex\fP, \%\f3gluTessBeginPolygon\fP, \%\f3gluTessBeginContour\fP, \%\f3gluTessProperty\fP, \%\f3gluTessNormal\fP