New issue 16 by paxcalpt: AttributeError: 'module' object has no
attribute 'GL_ALPHA32F_ARB'
http://code.google.com/p/glumpy/issues/detail?id=16
It seems glumpy may have an issue with PyOpenGL 3.0.2a5.
Here's the traceback...
Traceback (most recent call last):
File "/Users/paxcalpt/Code/Projects/hg-udroid/udroid/uDroid/gui/_wxImageCanvas.py",
line 32, in onPaint
self._imGLTexture.draw(0, 0, -1, self._w, self._h)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/glumpy/image/image.py",
line 208, in draw
self._filter.activate( self._texture )
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/glumpy/image/filter.py",
line 173, in activate
self.build()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/glumpy/image/filter.py",
line 260, in build
gl.glTexImage1D (gl.GL_TEXTURE_1D, 0, gl.GL_ALPHA32F_ARB,
AttributeError: 'module' object has no attribute 'GL_ALPHA32F_ARB'
What is your video card ?
Alos, can you tell me what are the available gl.GL_ALPHA* constants you
have in your implementation ?
Nicolas
Hi Nicolas,
The card is a: Intel HD Graphics 3000
Here are the constants:
GL.GL_ALPHA GL.GL_ALPHA8 GL.GL_ALPHA_SCALE
GL.GL_ALPHA12 GL.GL_ALPHA_BIAS GL.GL_ALPHA_TEST
GL.GL_ALPHA16 GL.GL_ALPHA_BITS GL.GL_ALPHA_TEST_FUNC
GL.GL_ALPHA4 GL.GL_ALPHA_INTEGER GL.GL_ALPHA_TEST_REF
You may try with GL.GL_ALPHA16 instead of ALPHA32F but I'm not sure about
the result.
(ALPHA32F is to indicate OpenGL to use 32 bits float internal format (to
get higher precision))
Nicolas