On Mon, 24 Sep 2007, Jim Storch wrote:
> I am really enjoying working with Pyglet.  I love the minimal
> dependency approach.  One problem I've run into though is slow image
> blitting.  When I run the code below that performs 100 blits of the
> same 64x64 png image I get about 19 frames per second.
>
> I tried installing the current SVN and get the same result.
>
> Any advice?

Have a look in contrib/scene2d. In there, examples/los.py script is a simple 
benchmarking script. The scene2d approach simply tries to minimise OpenGL 
commands. I get around 300FPS for 100 sprites.

A better approach would be to use vertex arrays, and will be the next thing I 
try.


    Richard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to