Re: [PyOpenGL-Users] Depth buffer attachment problem
Brought to you by:
mcfletch
From: Nicolas R. <nic...@in...> - 2014-02-25 09:51:54
|
While trying to write a strip-down example, I accidentally reproduced the same kind of output using GL_TRIANGLE_TRIP instead of GL_TRIANGLES. Here is the source (which doesn't work as expected using the indices buffer: no output). That le me think I may have introduced the same kind of bug in the other source. I'm still investigating why the index buffer doesn't work (and texture actually). I didn't thoroughy check for errors yet, pardon me if it is very obvious... (The crate.npy is a 256x256 RGB texture stored as a numpy array. You'll need to replace it or discard it.) Nicolas |