Mike C. Fletcher

Show:

What's happening?

  • Comment: 3.0.1a3 imports throw OSError

    Okay, I'm going to punt on the "No GL" case and raise an ImportError. The no GLU case on GLX and WGL platforms will now produce null-function errors on attempts to call GLU functions (as with GLUT or GLE). This is all in bzr head now, if you could test in environments where this can actually happen it would be helpful to me.

    2009-11-25 20:07:35 UTC in PyOpenGL

  • Comment: 3.0.1a3 imports throw OSError

    Hmm, I can see where the error is coming from, but it seems that the correct approach would be that taken for the rest of the libraries (GLE and GLUT), i.e. no import error, just a lot of NULL functions... thing is there's lots of code that is going to fail because e.g. it tries to load error handling functions. Quite frankly I never considered the failure case of "no GL" or a "GL without GLU"...

    2009-11-25 19:51:37 UTC in PyOpenGL

  • Comment: 3.0.1a3 imports throw OSError

    Hmm, can you tell me *where* the OSError comes from (precisely, as in a traceback). It would make it much easier to catch the OSError.

    2009-11-25 19:06:36 UTC in PyOpenGL

  • Comment: glTexImage

    Image-type registrations were missing for the 3 variants (NV, EXT and ARB). Added in bzr head. Thanks. Example registration should you wish to do a work-around (note, don't have any test case, so have not been able to test that this does what it's supposed to do): --- OpenGL/GL/ARB/framebuffer_object.py 2009-08-30 02:28:09 +0000 +++ OpenGL/GL/ARB/framebuffer_object.py 2009-11-14 19:48:04...

    2009-11-15 00:14:08 UTC in PyOpenGL

  • Comment: Unknown specifier GL_MAX_TEXTURE_IMAGE_UNITS

    Just implemented the first suite of truly automated tests, but they wouldn't have caught this, as I don't have any code exercising the missing features. As for an ugly workaround, you can call OpenGL.GL.glget.addGLGetConstant( constant, (1,) ) where (1,) is the dimension of the array to be created for the constant, so e.g. (4,4) for most matrices. I've also added a script that goes...

    2009-11-13 16:16:19 UTC in PyOpenGL

  • PyOpenGL

    mcfletch made 2 file-release changes.

    2009-11-11 17:47:01 UTC in PyOpenGL

  • PyOpenGL

    mcfletch made 2 file-release changes.

    2009-11-11 17:46:01 UTC in PyOpenGL

  • PyOpenGL

    mcfletch made 2 file-release changes.

    2009-11-11 17:43:08 UTC in PyOpenGL

  • Comment: Unknown specifier GL_MAX_TEXTURE_IMAGE_UNITS

    Wow, there were a *lot* of bugs hiding behind that one. Any non-extension glGet constant over about GL 1.1 was going to raise an error. I've updated the code to have all GL 2.1 constants, but there's going to be 3.0, 3.1 and 3.2 constants missing. Need to get a better mechanism for determining what can be used with glGet to make this automatic. 3.0.1 should have the fix for the particular...

    2009-11-10 16:48:54 UTC in PyOpenGL

  • Comment: Bug in glGetShaderiv on Windows

    Thanks for the bug report. Should be fixed in trunk and released with the 3.0.1b1 release.

    2009-11-08 04:22:37 UTC in PyOpenGL