NeHe demo 45 (Vertex Buffer Objects) sort-of working (If it didn't look wrong...)
Last update on .
Bit of work this afternoon. Mostly wanted to get the GL.arb.vertex_buffer_objects extension working. Turns out we had some demo code in the NeHe directory, it had originally been written against a CVS version of PyOpenGL 2.x, but with some tweaks and cleanup it ran with PyOpenGL 3.x (most of the tweaks just ripping out code that isn't needed any more). Fixed a bug in the Numeric array handler along the way.
Problem is that the look of the VBO version is different than that of the array-drawing version. Looks like 1/2 of the grid is missing (or assigned extremely low height values so that it's off-screen). Even when that's fixed, this is by no means an exhaustive exploration of VBO functionality, just a first hack to see if the thing works at all. Oh well.
I'm off to coffee in a few minutes. Looking forward to spending the evening relaxing.
Pingbacks are closed.
Comments are closed.