glMapGrid

define a one- or two-dimensional mesh

Signature

glMapGrid( )->
glMapGrid1d( GLint ( un ) , GLdouble ( u1 ) , GLdouble ( u2 ) )-> void
glMapGrid1d( un , u1 , u2 )
glMapGrid1f( GLint ( un ) , GLfloat ( u1 ) , GLfloat ( u2 ) )-> void
glMapGrid1f( un , u1 , u2 )
glMapGrid2d( GLint ( un ) , GLdouble ( u1 ) , GLdouble ( u2 ) , GLint ( vn ) , GLdouble ( v1 ) , GLdouble ( v2 ) )-> void
glMapGrid2d( un , u1 , u2 , vn , v1 , v2 )
glMapGrid2f( GLint ( un ) , GLfloat ( u1 ) , GLfloat ( u2 ) , GLint ( vn ) , GLfloat ( v1 ) , GLfloat ( v2 ) )-> void
glMapGrid2f( un , u1 , u2 , vn , v1 , v2 )

Parameters

VariablesDescription
un
Specifies the number of partitions in the grid range interval [ u1 , u2 ]. Must be positive.
u1, u2
Specify the mappings for integer grid domain values i = 0 and i = un .
vn
Specifies the number of partitions in the grid range interval [ v1 , v2 ] ( glMapGrid2 only).
v1, v2
Specify the mappings for integer grid domain values j = 0 and j = vn ( glMapGrid2 only).

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glMapGrid2f
OpenGLContext tests/dek_surf.py Lines: 53
OpenGLContext tests/dek_texturesurf.py Lines: 68
OpenGL-Demo PyOpenGL-Demo/dek/texturesurf.py Lines: 77

MathML Rendering

Powered by MathJax