[PyOpenGL-Devel] [ pyopengl-Bugs-2817196 ] regression: multitexturing broken in 3.0.0
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2010-10-08 12:20:26
|
Bugs item #2817196, was opened at 2009-07-05 19:46 Message generated for change (Comment added) made by bourriquet42 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2817196&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: GL Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrew Straw (astraw) Assigned to: Nobody/Anonymous (nobody) Summary: regression: multitexturing broken in 3.0.0 Initial Comment: I've been trying to track down a regression in multitexturing that happens on Windows with PyOpenGL3. I get the same issue with Python2.5 and Python2.6, and it goes away when I test on Python2.5 with PyOpenGL 2.0.2.01. I don't get this error on Linux. Running the old NeHe demo "lesson6-multi.py" I found in a local copy of PyOpenGL-2.0.1.09 (in PyOpenGL-2.0.1.09/OpenGL/Demo/NeHe/), I get this traceback: Z:\test>c:\python25\python lesson6-multi.py Hit ESC key to quit. Traceback (most recent call last): File "c:\python25\lib\site-packages\OpenGL\GLUT\special.py", line 113, in safe Call return function( *args, **named ) File "lesson6-multi.py", line 189, in DrawGLScene glEnd(); # Done Drawing The Cube File "c:\python25\lib\site-packages\OpenGL\lazywrapper.py", line 9, in __call_ _ return wrapper( baseFunction, *args, **named ) File "c:\python25\lib\site-packages\OpenGL\GL\exceptional.py", line 57, in glE nd return baseFunction( ) File "c:\python25\lib\site-packages\OpenGL\error.py", line 194, in glCheckErro r baseOperation = baseOperation, GLError: GLError( err = 1282, description = 'invalid operation', baseOperation = glEnd, cArguments = () ) GLUT Idle callback <function DrawGLScene at 0x00D47830> with (),{} failed: retur ning None GLError( err = 1282, description = 'invalid operation', baseOperation = glEnd, cArguments = () ) ---------------------------------------------------------------------- Comment By: bourriquet42 (bourriquet42) Date: 2010-10-08 08:20 Message: Is there anything new about this issue? ---------------------------------------------------------------------- Comment By: Andrew Straw (astraw) Date: 2010-02-25 13:42 Message: Thanks for looking into this. I tried, but I got lost in the code. This is important for the current and past incarnations of the Vision Egg library, which is useful for vision research experiments. In the future, the VE will move to shaders, but multi-texturing worked fine for years until PyOpenGL 3. I am happy to test. ---------------------------------------------------------------------- Comment By: Mike C. Fletcher (mcfletch) Date: 2010-02-25 13:04 Message: Urgh, *Windows*, sorry. Guess I need to get over to windows to test this. ---------------------------------------------------------------------- Comment By: Mike C. Fletcher (mcfletch) Date: 2010-02-25 13:03 Message: Have just tested with the Demo/NeHe/lesson6-multi.py from PyOpenGL 2.0.1.09 with PyOpenGL 3.0.1 (about to be released). Works as expected. We also have a PyOpenGL-Demo package which includes the updated version of the demo, which works fine. We have lots of other scripts that use multi-texturing, both with the legacy and shader APIs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2817196&group_id=5988 |