delim $$
void ggllEEvvaallCCoooorrdd11ff( GLfloat _u )
void ggllEEvvaallCCoooorrdd22dd( GLdouble _u,
GLdouble _v )void ggllEEvvaallCCoooorrdd22ff( GLfloat _u,
GLfloat _v )
void ggllEEvvaallCCoooorrdd11ffvv( const GLfloat _*_u )
void ggllEEvvaallCCoooorrdd22ddvv( const GLdouble _*_u )
void ggllEEvvaallCCoooorrdd22ffvv( const GLfloat _*_u )
When one of the ggllEEvvaallCCoooorrdd commands is issued, all currently enabled maps of the indicated dimension are evaluated. Then, for each enabled map, it is as if the corresponding GL command had been issued with the computed value. That is, if GGLL__MMAAPP11__IINNDDEEXX or GGLL__MMAAPP22__IINNDDEEXX is enabled, a ggllIInnddeexx command is simulated. If GGLL__MMAAPP11__CCOOLLOORR__44 or GGLL__MMAAPP22__CCOOLLOORR__44 is enabled, a ggllCCoolloorr command is simulated. If GGLL__MMAAPP11__NNOORRMMAALL or GGLL__MMAAPP22__NNOORRMMAALL is enabled, a normal vector is produced, and if any of GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__11, GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__22, GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__33, GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__44, GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__11, GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__22, GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__33, or GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__44 is enabled, then an appropriate ggllTTeexxCCoooorrdd command is simulated.
For color, color index, normal, and texture coordinates the GL uses evaluated values instead of current values for those evaluations that are enabled, and current values otherwise, However, the evaluated values do not update the current values. Thus, if ggllVVeerrtteexx commands are interspersed with ggllEEvvaallCCoooorrdd commands, the color, normal, and texture coordinates associated with the ggllVVeerrtteexx commands are not affected by the values generated by the ggllEEvvaallCCoooorrdd commands, but only by the most recent ggllCCoolloorr, ggllIInnddeexx, ggllNNoorrmmaall, and ggllTTeexxCCoooorrdd commands.
No commands are issued for maps that are not enabled. If more than one texture evaluation is enabled for a particular dimension (for example, GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__11 and GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__22), then only the evaluation of the map that produces the larger number of coordinates (in this case, GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__22) is carried out. GGLL__MMAAPP11__VVEERRTTEEXX__44 overrides GGLL__MMAAPP11__VVEERRTTEEXX__33, and GGLL__MMAAPP22__VVEERRTTEEXX__44 overrides GGLL__MMAAPP22__VVEERRTTEEXX__33, in the same manner. If neither a three- nor a four-component vertex map is enabled for the specified dimension, the ggllEEvvaallCCoooorrdd command is ignored.
If you have enabled automatic normal generation,
by calling ggllEEnnaabbllee with argument GGLL__AAUUTTOO__NNOORRMMAALL,
ggllEEvvaallCCoooorrdd22 generates surface normals analytically,
regardless of the contents or enabling of the GGLL__MMAAPP22__NNOORRMMAALL map.
Let
bold m ~=~ {partial bold p} over {partial u} ~times~
{partial bold p} over {partial v}
Then the generated normal $ bold n $ is
$bold n ~=~ bold m over { || bold m || }$
If automatic normal generation is disabled,
the corresponding normal map GGLL__MMAAPP22__NNOORRMMAALL,
if enabled,
is used to produce a normal.
If neither automatic normal generation nor a normal map is enabled,
no normal is generated for
ggllEEvvaallCCoooorrdd22 commands.
ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__VVEERRTTEEXX__33 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__VVEERRTTEEXX__44 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__IINNDDEEXX ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__CCOOLLOORR__44 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__NNOORRMMAALL ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__11 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__22 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__33 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP11__TTEEXXTTUURREE__CCOOOORRDD__44 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__VVEERRTTEEXX__33 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__VVEERRTTEEXX__44 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__IINNDDEEXX ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__CCOOLLOORR__44 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__NNOORRMMAALL ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__11 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__22 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__33 ggllIIssEEnnaabblleedd with argument GGLL__MMAAPP22__TTEEXXTTUURREE__CCOOOORRDD__44 ggllIIssEEnnaabblleedd with argument GGLL__AAUUTTOO__NNOORRMMAALL ggllGGeettMMaapp