Hi all, this is my first message in this list. Nice to meet you all.
It is very good for graphics concepts as well opengl, their code is in c++ but I'm wanting to do it with python.
So I'm tring to do the first tutorial (you can find the code here: bitbucket.org/alfonse/gltut
) step by step and I ran in some problems with glGenBuffers.
In : from OpenGL.GL import *
In : buf = glGenBuffers(1)
NullFunctionError: Attempt to call an undefined function glGenBuffers, check for bool(glGenBuffers) before calling
In : bool(glGenBuffers)
In : glGenBuffers
Out: <OpenGL.platform.baseplatform.glGenBuffers at 0x10313d950>
I googled for solutions, and found another way to use it with:
In : from OpenGL.GL.ARB.vertex_buffer_object import *
In : buf = glGenBuffersARB(1)
But it returns me the very same problems above.
I went ahead and checked the next function I would need to use: glBindBuffer, and its ARB version, both gave me the same errors of glGenBuffer.
So there you have it, I'm stuck with this in the first tutorial, any help is greatly appreciated.
Thanks in advance!
Maximiliano Guerra de Medeiros