sorry, the link I gave doesn't use vertex arrays very well. A better example is this one: http://www.google.com/codesearch?hl=en&q=file:\.py+drawarrays+demo+show:r0dvt8wsEt4:1Ns9Y_oHlDQ:LUdS7R6LMrU&sa=N&cd=6&ct=rc&cs_p=http://downloads.sourceforge.net/pyopengl/OpenGL-3.0.0a4.zip&cs_f=OpenGL-3.0.0a4/OpenGL/Demo/da/dots.py
It's in the OpenGL/Demo/da/dots.py file. grep for glDrawArrays in the demos too. cu, On Wed, Aug 6, 2008 at 9:17 AM, René Dudfield <[EMAIL PROTECTED]> wrote: > hi, > > Have a look in the PyOpengl Demo directory... there's lots of vertex > array examples. > > Here's a pretty small example: http://developer.nomadph.com/guest001.html > > Note that glBegin/glEnd have been removed from OpenglES, since they > really are not suitable to use for high speed. > > > cheers, > > > On Wed, Aug 6, 2008 at 3:44 AM, Ian Mallett <[EMAIL PROTECTED]> wrote: >> OK, but I still can't do VBOs. From what I can tell, they are much faster. >> Anyone have a good PyOpenGL example? >> I was going off of one of my OpenGL programs which no one could use because >> it had vertex arrays. >> Ian >> >
