Hi! I'm new to OpenGL and PyOpenGL, but Im trying to create a project to my colledge and I'm facing a big problem. I was trying to resolve it but without luck :(
Unfortunatelly my Python (2.7) with PyOpengl 3.0.2-r1000 complains, that this variable is not defined (gentoo linux, x86 64).
So the api has changed? Or maybe the example is wrong?
How can I use glBufferData from OpenGl and what to pass as fourth argument to make it working?
In the example there was glBufferData(GL_ARRAY_BUFFER, data[i], GL_STATIC_DRAW_ARB), where data is numpy array containing volume representation of an object.
I would be very thankful for any help!
All the best,