I'm running Pyglet on OS-X (previously 10.7 and now 10.8).
The entire time I've been developing, I've found using Pyglet's Batch 
objects to be horrendously slow.

I have a demo program (it uses my framework PyGLy and Pyrr) which shows 
this.
https://github.com/adamlwgriffiths/PyGLy/tree/master/examples/render_methods

The example renders 121 transparent cubes and allows you to toggle between 
render methods (Immediate, Batch, DL).
It also disables VSync and runs the render method as fast as possible

I get the following results:

OpenGL immediate mode: 38 fps
pyglet.graphics.Batch: 51 fps
OpenGL Display List: 99 fps

In my other demos (mesh_md2) using Batch made the performance drop to 10 
fps.

Is this a known issue?

I see bug #314 was closed due to age. I have a feeling it wasn't really 
resolved.
http://code.google.com/p/pyglet/issues/detail?id=314

Cheers,
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/dtmgnj7yn60J.
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