Hi all,
Have been looking into providing some Vertex Buffer Object wrappers.
There's a quick summary on my blog:
http://blog.vrplumber.com/index.php?/archives/2151-OpenGL-Vertex-Buffer-Objects-VBO.html
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
module.
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
explicitly.
If people have thoughts about reasonable Framebuffer object APIs too,
let me know.
Take care,
Mike
--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
|