Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

alex23 wuwei23 at gmail.com
Sun Dec 7 20:53:55 EST 2008


On Dec 8, 11:23 am, excor... at gmail.com wrote:
> Does pyglet use PyOpenGL as its OpenGL wrapper? If not, any idea why?
> Seems like it would be a fairly substantial duplication of effort.

Taken from: http://groups.google.com/group/pyglet-users/msg/832b15389fccd28d

>> IIRC pyglet tries to minimize dependencies, so PyOpenGL won't be
>> used.  However, pyglet's wrapping of OpenGL isn't meant to be
>> complete; it's only what pyglet itself uses.  You'll need to use
>> PyOpenGL for the rest.

> That was more or less the original plan.  pyglet wraps OpenGL at the
> lowest level, so it only provides glVertex3f, glVertex2d, etc.,
> whereas PyOpenGL also provides polymorphic functions such as glVertex.
[...]
> pyglet provides all of the error-checking functionalities that
> PyOpenGL does (though these can be disabled for performance).  At
> last check, pyglet was significantly faster than PyOpenGL 3, but
> slower than PyOpenGL 2.



More information about the Python-list mailing list