EasyManuals Logo
Home>HP>Desktop>b2600

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #274 background imageLoading...
Page #274 background image
M
glMap1
Chapter 11
274
glMap1
glMap1d, glMap1f: define a one-dimensional evaluator.
C Specification
void glMap1d(
GLenum target,
GLdouble u1,
GLdouble u2,
GLint stride,
GLint order,
const GLdouble *points)
void glMap1f(
GLenum target,
GLfloat u1,
GLfloat u2,
GLint stride,
GLint order,
const GLfloat *points)
Parameters
target 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.
u1, u2 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.
stride 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.
order Specifies the number of control points. Must be positive.
points Specifies a pointer to the array of control 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.

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals