HP Workstation zx2000 OpenGL 1.1 Reference for HP-UX 11.x - Page 276
Gl_map1_texture_coord_3
View all HP Workstation zx2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 276 highlights
M glMap1 276 Each control point is four floating-point values representing red, green, blue, and alpha. Internal glColor4 commands are generated when the map is evaluated but the current color is not updated with the value of these glColor4 commands. GL_MAP1_NORMAL Each control point is three floating-point values representing the x, y, and z components of a normal vector. Internal glNormal commands are generated when the map is evaluated but the current normal is not updated with the value of these glNormal commands. GL_MAP1_TEXTURE_COORD_1 Each control point is a single floating-point value representing the s texture coordinate. Internal glTexCoord1 commands are generated when the map is evaluated but the current texture coordinates are not updated with the value of these glTexCoord commands. GL_MAP1_TEXTURE_COORD_2 Each control point is two floating-point values representing the s and t texture coordinates. Internal glTexCoord2 commands are generated when the map is evaluated but the current texture coordinates are not updated with the value of these glTexCoord commands. GL_MAP1_TEXTURE_COORD_3 Each control point is three floating-point values representing the s, t, and r texture coordinates. Internal glTexCoord3 commands are generated when the map is evaluated but the current texture coordinates are not updated with the value of these glTexCoord commands. GL_MAP1_TEXTURE_COORD_4 Each control point is four floating-point values representing the s, t, r, and q texture coordinates. Internal glTexCoord4 commands are generated when the map is evaluated but the current texture coordinates are not updated with the value of these glTexCoord commands. stride, order, and points define the array addressing for accessing the control points. points is the location of the first control point, which occupies one, two, three, or four contiguous memory locations, depending on which map is being defined. order is the number of control points in the array. stride specifies how many float or double locations to advance the internal memory pointer to reach the next control point. Notes As is the case with all GL commands that accept pointers to data, it is as if the contents of points were copied by glMap1 before glMap1 returns. Changes to he contents of points have no effect after glMap1 is called. Errors • GL_INVALID_ENUM is generated if target is not an accepted value. • GL_INVALID_VALUE is generated if u1 is equal to u2. • GL_INVALID_VALUE is generated if stride is less than the number of values in a control point. Chapter 11