[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Using PyOpenGL for 2D graphics



Quoting Jasper <jasper@xxxxxxxx>:

> Greg Ewing wrote:
> > Another useful technique is to put frequently-used sequences
> > of operations into display lists, then you can invoke them
> > with just a single Python call.
> This last optimization gave me my biggest improvement in OpenGL speed, 
> dramatically increasing the FPS when drawing lots of identical sprites.  
> It ended up being the only optimization I needed.
> 
> -Jasper
> 

Gives you an idea of the hoops game-houses go through to squeeze every drop of
performance out of big scenes, eh!

Jon



--------------------------------------------------------------------
Come and visit Web Prophets Website at http://www.webprophets.net.au