#46572 - connor9 - Mon Jun 27, 2005 3:57 pm
Is it possible on the DS to read the values back from the current matrix. Something along the lines of the glGet* operations? I've read over the board and I haven't found a similar question.
connor9 wrote: |
Is it possible on the DS to read the values back from the current matrix. Something along the lines of the glGet* operations? I've read over the board and I haven't found a similar question. |
dXtr wrote: |
it was a long time since I used openGL but iirc there is something called glPopMatrix()
edit: I looked it up in msdn and what I found was: the following functions retrieve information related to glLoadMatrix: glGet with argument GL_MATRIX_MODE glGet with argument GL_MODELVIEW_MATRIX glGet with argument GL_PROJECTION_MATRIX glGet with argument GL_TEXTURE_MATRIX so I guess you call it with GL_*_MATRIX to get your matrix |