[PyOpenGL-Users] GLerror: [Errno 1281]
Brought to you by:
mcfletch
From: Lothar B. <bi...@en...> - 2003-02-18 22:30:58
|
Hi, first of all thanks, for the quick help on the "terminating the examples question" from last week. Updating my wxPython distribution to the newest one, restored the expected windows behavior. May be someone also has an idea on the following questions / problems. How can I set the background of the OpenGL Window to white in the OpenGLContext\tests\indexedfaceset_lit_npf.py example? When running some of the tests in the above directory, like python selectrendermode_threads.py a lot of errors of the follwoing nature are reported: >>>> Traceback (most recent call last): File "/usr/local/lib/python2.2/site-packages/OpenGLContext/visitor.py", line 224, in visit token = method( node ) File "/usr/local/lib/python2.2/site-packages/OpenGLContext/rendervisitor.py", line 205, in Rendering return node.Render( self ) File "/usr/local/lib/python2.2/site-packages/OpenGLContext/scenegraph/shape.py", line 47, in Render glDisable(GL_LIGHTING) GLerror: [Errno 1281] invalid value ERR :OpenGLContext.visitor:method <bound method OpaqueRenderPass.Rendering of <OpenGLContext.renderpass.OpaqueRenderPass object at 0x87fd394>> for node Shape( DEF='' ) >>>> I, am using the CVS versions of PyOpenGL and OpenGLContext of today. Any ideas? Lothar |