Re: [PyOpenGL-Users] 2d sprite engine performance.
Brought to you by:
mcfletch
From: Rich D. <dr...@in...> - 2005-04-06 21:21:22
|
> > Python is slower than C, but OpenGL has an enormous amount of room to > > play. Using higher-level features from the higher-level language can > > make the experience much more rewarding. > > I get the impression that OpenGL can deliver all the speed I want, I > just seem to be having problems unlocking that speed. It may also be worth trying psyco to speed up the Python portion of your code (http://psyco.sf.net). psyco is an easy install and requires only a line or two at the top of your program to invoke it. Depending on your code, speedup can be dramatic. I suspect in your case it won't be dramatic, but it might be enough. The biggest win, in my experience, is putting everything into a display list but it sounds like that might not be possible for your application. Rich |