Re: [PyOpenGL-Users] VBO question
Brought to you by:
mcfletch
From: Henry G. <he...@ca...> - 2011-06-21 08:20:03
|
On Mon, 2011-06-20 at 18:29 -0700, Jason Hayes wrote: > Thanks for the reply Henry. After a lot of trial and error, I finally > figured out what the real problem is. I'm on OpenGL 3.3 and > glVertexPointer and the others have been deprecated since 3.0, but > PyOpenGL tries to maintain backwards compatability I guess. So I > figured out the correct method and switched to glVertexAttribPointer > and wrote a GLSL shader, now everything works great. For my benefit as much as others, would you share the code snippet that loads the vertex array? Thanks, Henry |