[ pyopengl-Bugs-2817196 ] regression: multitexturing broken in 3.0.0

"SourceForge.net" <[email protected]> Thu, 25 Feb 2010 18:03:37 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2817196, was opened at 2009-07-05 19:46
Message generated for change (Comment added) made by mcfletch
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: Closed
>Resolution: Works For Me
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: 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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net