This stuff was discussed on the pyglet mailing list a while back. One relevant thread is here:
http://groups.google.com/group/pyglet-users/browse_thread/thread/8b35f0e0971939f3 Richard > René Dudfield <[EMAIL PROTECTED]> wrote: > > Indeed. Generally strings, lists and tuples are copied in python - so > the array types are faster. > > Another option is to use ctypes arrays. However neither ctypes or > numpy are available on all versions of python... but if you're using > pyopengl 3.x that uses ctypes already :) > > cu, > > > On Wed, Aug 6, 2008 at 9:32 AM, Greg Ewing <[EMAIL PROTECTED]> > wrote: > > Ian Mallett wrote: > > > >> This thread has more moved into: "optimizing opengl landscape > loading" > >> The speed problem is simply the converting the height data into an > OpenGL > >> display list. > > > > For that I'd investigate using numpy arrays together with > > the array-oriented OpenGL calls. > > > > -- > > Greg > >
