Matrix Palette, Drawing Issue When Modelview Matrix
Solution 1:
I haven't found an OES matrix palette extension in the extension registry, but an ARB extension and suppose it works similar. In this extension, you have to enable GL_MATRIX_PALETTE
and or GL_VERTEX_BLEND
(with glEnable
) to use matrix palette skinning and disable it to not use it.
But the glMatrixMode does't have anything to do with enabling or disabling it. It just selects the matrix to which matrix modification functions apply (like glLoadIdentity
, glTranslate
, ...).
EDIT: After googling this extension (I have no ES experience) I found, that you definitely have to enable GL_MATRIX_PALETTE_OES
to use it (via glEnable
) and then disable it again for your second part to not use it. As I've written above, glMatrixMode
doesn't do what you thought it to.
Post a Comment for "Matrix Palette, Drawing Issue When Modelview Matrix"