(Again, switched to PyOpenGL users to avoid spamming general python people)
I'm assuming you've already discovered the problem in your geometry (you
are using backward-facing polygons). I've attached a working
OpenGLContext module which shows both the list and array versions
working properly (hit 'a' to switch between the two versions).
The switch makes no difference on my machine, by the way. Both versions
are drawn as nothing unless the face culling is disabled. This is
running with the latest version of PyOpenGL 2.0.1, by the way. There
are, obviously, two different paths through the wrapper for the list
versus the array versions, but AFAIK, both versions should work, even
with the 2.0.0 PyOpenGL release (I don't think I fixed any errors in
this area for the 2.0.1 release).
>Here's the code.
>#VertexArray=array(VertexArray, 'f') #Here's the problem line
>With the noted line commented, a Python list is passed to glVertexPointer, and
>everything is dandy. When the noted line is uncommented, nothing is drawn. No
>Whats the deal here? Why isn't IndiceArray affected by being converted to an
>array, and why IS VertexArray affected?
Mike C. Fletcher
Designer, VR Plumber, Coder