Re: [PyOpenGL-Users] Attribute error using PyOpenGL and PyOpenCL
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-09-30 19:24:53
|
On 14-09-24 07:40 AM, Walter White wrote: > Hello, > > I came across a problem and hope that you can help me, > since I could not find a solution crawling the net. Basically the code is trying to access the "buffers" member of the VBO object. The OpenGL_accelerate version of the VBO (the cython-implemented one) does *not* have a .buffers (list), only a .buffer (int). Probably the attributes should be named _buffer and/or _buffers, as they aren't normally used by external code, the normal way to get the ID of the VBO is int(<vbo>). HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |