'\" 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 loadsamp .ds Xs 25465 4 loadsamplingmatrices.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 Fri Sep 7 12:52:48 JST 2001 .\" by FUJIWARA Teruyoshi .\" .TH GLULOADSAMPLINGMATRICES 3G .SH 名前 .B "gluLoadSamplingMatrices .\"0 \- load NURBS sampling and culling matrices \- NURBS のサンプリング行列およびカリング行列をロードする .SH 書式 void \f3gluLoadSamplingMatrices\fP( GLUnurbs* \fInurb\fP, .nf .ta \w'\f3void \fPgluLoadSamplingMatrices( 'u const GLfloat \fI*model\fP, const GLfloat \fI*perspective\fP, const GLint \fI*view\fP ) .fi .EQ delim $$ .EN .SH PARAMETERS .TP \w'\fIperspective\fP\ \ 'u \f2nurb\fP .\"0 Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP). NURBS オブジェクト(\%\f3gluNewNurbsRenderer\fP を使って作る)を指定する。 .TP \f2model\fP .\"0 Specifies a modelview matrix (as from a \f3glGetFloatv\fP call). モデルビュー行列を指定する(\f3glGetFloatv\fP 関数で得られる)。 .TP \f2perspective\fP .\"0 Specifies a projection matrix (as from a \f3glGetFloatv\fP call). 射影行列を指定する(\f3glGetFloatv\fP 関数で得られる)。 .TP \f2view\fP .\"0 Specifies a viewport (as from a \f3glGetIntegerv\fP call). ビューポートを指定する(\f3glGetFloatv\fP 関数で得られる)。 .SH 説明 .\"0 \%\f3gluLoadSamplingMatrices\fP uses \f2model\fP, \f2perspective\fP, and \f2view\fP to recompute the sampling and culling .\"0 matrices stored in \f2nurb\fP. \%\f3gluLoadSamplingMatrices\fP は \f2model\fP, \f2perspective\fP, \f2view\fP を使い、\f2nurb\fP に格納されている サンプリング行列と カリング行列を再計算する。 .\"0 The sampling matrix determines how finely a NURBS curve or surface .\"0 must be tessellated to satisfy the sampling tolerance (as determined by the .\"0 \%\f3GLU_SAMPLING_TOLERANCE\fP property). サンプリング行列は、 サンプリングの許容誤差(\%\f3GLU_SAMPLING_TOLERANCE\fP 属性で決まる)を 満たすためにどれだけ高精度で NURBS 曲線・曲面をテセレーション処理する のかを決める。 .\"0 The culling matrix is used in deciding if a NURBS curve or surface .\"0 should be culled before .\"0 rendering (when the \%\f3GLU_CULLING\fP property is turned on). カリング行列は、(\%\f3GLU_CULLING\fP 属性が有効の時に) レンダリング前に NURBS 曲線・曲面をカリング処理するかどうかを 決めるために使われる。 .P .\"0 \%\f3gluLoadSamplingMatrices\fP is necessary only if the \%\f3GLU_AUTO_LOAD_MATRIX\fP property is turned .\"0 off (see \%\f3gluNurbsProperty\fP). \%\f3gluLoadSamplingMatrices\fP が必要となるのは、 \%\f3GLU_AUTO_LOAD_MATRIX\fP 属性が無効の場合だけである (\%\f3gluNurbsProperty\fP を参照)。 .\"0 Although it can be convenient to leave the \%\f3GLU_AUTO_LOAD_MATRIX\fP .\"0 property turned on, there can be a performance penalty for doing so. \%\f3GLU_AUTO_LOAD_MATRIX\fP 属性を有効のままにしておくと便利ではある が、その反面、性能的には不利になる場合がある。 .\"0 (A round trip to the GL server is needed to fetch the current values .\"0 of the modelview matrix, projection matrix, and viewport.) (モデルビュー行列、射影行列、ビューポートを取得するには、GL サーバとの やりとりが必要である。) .SH 関連項目 \%\f3gluGetNurbsProperty\fP, \%\f3gluNewNurbsRenderer\fP, \%\f3gluNurbsProperty\fP