Glmap1 - HP b2600 Reference Manual

Opengl 1.1 reference
Hide thumbs Also See for b2600:
Table of Contents

Advertisement

M

glMap1

glMap1
glMap1d, glMap1f: define a one-dimensional evaluator.
C Specification
void glMap1d(
const GLdouble *points)
void glMap1f(
const GLfloat *points)
Parameters
target
u1, u2
stride
order
points
Description
Evaluators provide a way to use polynomial or rational polynomial mapping to produce
vertices, normals, texture coordinates, and colors. The values produced by an evaluator
are sent to further stages of GL processing just as if they had been presented using
glVertex, glNormal, glTexCoord, and glColor commands, except that the generated
values do not update the current normal, texture coordinates, or color.
274
GLenum target,
GLdouble u1,
GLdouble u2,
GLint stride,
GLint order,
GLenum target,
GLfloat u1,
GLfloat u2,
GLint stride,
GLint order,
Specifies the kind of values that are generated by the evaluator.
Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4,
GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL,
GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2,
GL_MAP1_TEXTURE_COORD_3, and
GL_MAP1_TEXTURE_COORD_4 are accepted.
Specify a linear mapping of u, as presented to glEvalCoord1, to $u
hat$, the variable that is evaluated by the equations specified by this
command.
Specifies the number of floats or doubles between the beginning of one
control point and the beginning of the next one in the data structure
referenced in points. This allows control points to be embedded in
arbitrary data structures. The only constraint is that the values for a
particular control point must occupy contiguous memory locations.
Specifies the number of control points. Must be positive.
Specifies a pointer to the array of control points.
Chapter 11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents