OpenGL.GL.ARB.matrix_palette
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
Functions
Constants
GL_CURRENT_MATRIX_INDEX_ARB (34885)
GL_CURRENT_PALETTE_MATRIX_ARB (34883)
GL_MATRIX_INDEX_ARRAY_ARB (34884)
GL_MATRIX_INDEX_ARRAY_POINTER_ARB (34889)
GL_MATRIX_INDEX_ARRAY_SIZE_ARB (34886)
GL_MATRIX_INDEX_ARRAY_STRIDE_ARB (34888)
GL_MATRIX_INDEX_ARRAY_TYPE_ARB (34887)
GL_MATRIX_PALETTE_ARB (34880)
GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB (34881)
GL_MAX_PALETTE_MATRICES_ARB (34882)