From: Mike C. Fletcher <mcfletch@vr...> - 2008-06-22 05:23:56
Have been looking into providing some Vertex Buffer Object wrappers.
There's a quick summary on my blog:
which is basically asking for input on the API people feel they need for
using VBOs from PyOpenGL. The current attempt tries to make the VBO
look like just another data-storage format. At the moment it probably
only works with Numpy arrays, but the idea is to try to generalize it to
work with all of the data-formats we support. It will also need to be
coded to work with non-ARB-extension versions of the VBO interfaces.
Current CVS has the OpenGL/array/vbo module for those who want to play
with it. There's a very minimal test case in the OpenGL/tests/tests.py
Anyway, tossing it out for discussion. I'm not really looking for a
very-high-level API that requires many objects and inter-object
protocols to try to hide the existence of VBOs (that really belongs in
client code), just something that makes it easy to use the feature
If people have thoughts about reasonable Framebuffer object APIs too,
let me know.
Mike C. Fletcher
Designer, VR Plumber, Coder