RE: [PyOpenGL-Users] vertex/texture arrays
Brought to you by:
mcfletch
|
From: Tarn W. B. <twb...@us...> - 2002-01-06 17:13:41
|
All the PyOpenGL functions are documented in merged man pages at http://pyopengl.sourceforge.net/documentation/manual/ Although the only the prototypes for the decorated functions (glVertexPointerf, etc.) are given in the man pages, they are described in more detail in the user's manual. This documentation is also distributed with 2.0, with the exception of the merged man pages which will be included in the next version. In short, glVertexPointer is like the C function in that it takes a Python string and it respects the stride arguments (in the future it may use the buffer protocol also), whereas glVertexPointerf uses a Python array (or Numeric) and doesn't need stride arguments. Sorry, haven't figured out the INVALID_OPERATION problem yet. Tarn |