OpenGL.GL.ARB.matrix_palette | index /home/mcfletch/pylive/OpenGL/GL/ARB/matrix_palette.py |
OpenGL extension ARB.matrix_palette
This module customises the behaviour of the
OpenGL.raw.GL.ARB.matrix_palette to provide a more
Python-friendly API
Overview (from the spec)
This extension extends the abilities of ARB_vertex_blend to include
a palette of modelview matrices. The n vertex units use a palette
of m modelview matrices. (Where n and m are constrained to
implementation defined maxima.) Each vertex has a set of n
indices into the palette, and a corresponding set of n weights.
Matrix indices can be changed for each vertex (between Begin and
End).
When this extension is utilized, the enabled units transform each
vertex by the modelview matrices specified by the vertices'
respective indices. These results are subsequently scaled by the
weights of the respective units and then summed to create the
eyespace vertex.
A similar procedure is followed for normals. Normals, however,
are transformed by the inverse transpose of the modelview matrix.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/matrix_palette.txt
Modules | ||||||
|
Data | ||
EXTENSION_NAME = 'GL_ARB_matrix_palette' GL_CURRENT_MATRIX_INDEX_ARB = GL_CURRENT_MATRIX_INDEX_ARB GL_CURRENT_PALETTE_MATRIX_ARB = GL_CURRENT_PALETTE_MATRIX_ARB GL_MATRIX_INDEX_ARRAY_ARB = GL_MATRIX_INDEX_ARRAY_ARB GL_MATRIX_INDEX_ARRAY_POINTER_ARB = GL_MATRIX_INDEX_ARRAY_POINTER_ARB GL_MATRIX_INDEX_ARRAY_SIZE_ARB = GL_MATRIX_INDEX_ARRAY_SIZE_ARB GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = GL_MATRIX_INDEX_ARRAY_STRIDE_ARB GL_MATRIX_INDEX_ARRAY_TYPE_ARB = GL_MATRIX_INDEX_ARRAY_TYPE_ARB GL_MATRIX_PALETTE_ARB = GL_MATRIX_PALETTE_ARB GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB GL_MAX_PALETTE_MATRICES_ARB = GL_MAX_PALETTE_MATRICES_ARB __file__ = '/home/mcfletch/pylive/OpenGL/GL/ARB/matrix_palette.pyc' __name__ = 'OpenGL.GL.ARB.matrix_palette' __package__ = 'OpenGL.GL.ARB' glCurrentPaletteMatrixARB = <OpenGL.platform.baseplatform.glCurrentPaletteMatrixARB object at 0x731e810> glMatrixIndexPointerARB = <OpenGL.platform.baseplatform.glMatrixIndexPointerARB object at 0x731ea10> glMatrixIndexubvARB = <OpenGL.platform.baseplatform.glMatrixIndexubvARB object at 0x7300810> glMatrixIndexuivARB = <OpenGL.platform.baseplatform.glMatrixIndexuivARB object at 0x731e9d0> glMatrixIndexusvARB = <OpenGL.platform.baseplatform.glMatrixIndexusvARB object at 0x731e8d0> |