[PyOpenGL-Users] Shader problems
Brought to you by:
mcfletch
From: Tim B. <tim...@gm...> - 2008-11-16 01:12:07
|
Using Kubuntu Intrepid (8.10), PyOpenGL 3.0b6, proprietary nvidia drivers (though I'm not sure what specific card is in this computer). I am trying to get shaders to work using PyOpenGL, but calling glCreateShader(GL_FRAGMENT_SHADER) produces the exception: Traceback (most recent call last): File "./main.py", line 154, in <module> testShader = shader.FragmentShader("testShader.glsl") File "/home/rya/hw3/shader.py", line 11, in __init__ self.__shader = glCreateShader(GL_FRAGMENT_SHADER) File "/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/platform/baseplatform.py", line 280, in __call__ self.__name__, self.__name__, OpenGL.error.NullFunctionError: Attempt to call an undefined function glCreateShader, check for bool(glCreateShader) before calling Does this mean that my video card and/or opengl install does not support shaders? If that's not what this means, then what could be going on? Thanks! |