While trying to use RawOpengl widget (don't need Opengl widget bells and whistles), I found 2 errors in above mentioned function, in file OpenGL/Tk/__init__.py:
1. Line 205:
_mode = glGetDoublev(GL_MATRIX_MODE)
_mode = glGetIntegerv(GL_MATRIX_MODE)
(reverting to original matrix mode trough glMatrixMode() call several lines below is now throwing an exception)
2. Before line 214 (or somewhere around, the sequence of statements is somewhat tricky):
following line should be inserted:
(this way, if my rendering code is say leaving model view matrix mode as current matrix mode, and is manipulating properly with model view matrix stack, so that the stack is empty after my rendering code completed, a stack underflow exception is thrown)
Finally - I know this is not proper place for asking questions, but: where to find PyOpenGL 3 CVS (I wasn't able to find this code on PyOpenGL Sourceforge CVS repository)?
Log in to post a comment.