On Thu, Aug 13, 2009 at 7:38 AM, Paulo Silva <nitrofurano@gmail.com> wrote:
> vertexBufferObject = vbo.VBO(...)
> gl.glVertexAttribPointer(positionLocation, 3, GL_FLOAT, False, 24,
> vertexBufferObject)
>
> The second line generates this error:
>
> ctypes.ArgumentError: argument 6: <type 'exceptions.TypeError'>:
> Don't know how to convert parameter 6

You might try this code, adapted from my code, which makes use of vertex attributes for normal mapping:

vertex_attrib_vbo.bind()
glVertexAttribPointer(location,4,GL_FLOAT,GL_FALSE,0,None)

The last argument could probably also be 0. 

Ian