PYGGEL

We just released a new version tonight, just in time for pyweek :)
You can get it here:
PYGGEL

We will probably be doing some more bugfixes and tut/doc writing, but the API should remain the same...

Cheers

(log in to comment)

Comments

We just released a new version.
Mostly bugfixes - but some features were so broken we needed to change the api slightly, mainly for picking.
The full changelog is on the pygame release page.

http://pygame.org/project/968/?release_id=1945

Cheers all :)
I just finished (hackily and unoptimized) making a port of PYGGEL from Pygame/PyopenGL to Pygame/Pyglet (it only uses the gl bindings from pyglet).

If anyone is interested, they can check out the svn branch here:
http://pyggel.googlecode.com/svn/branches/pyggel-pyglet/

This version took about 2.5 to 3 hours to make up.
Some things appear to be faster, or at least a little smoother, like the picking, while others (2d, particle effects, Robocalypto, etc.) are a little to significantly slower.

Cheers :)
You might be able to speed up 2d if you use the pyglet functions for 2d, as I think a lot of optimization has went into 2d in pyglet; but you don't access that by using the raw GL. I've always been interested what the real difference was between pyglet and pyopengl 3, I expect if you did a test with pyopengl2 it would still be faster than both of them.
Yes, pyopengl2 is faster, by far. Yes, I had considered using pyglet's 2d stuff (dunno why it is slower using regular gl though, I thought pyglet was faster than pyopengl 3) - but then, this was just a quick hack for those that wanted it specifically instead of pyopengl 3 - if I ever continue it (which I doubt), then I'll looking into pyglet's speed optimizations ;)
Pyopengl 3 has been continually optimized over the past few months, I think the bar of performance between it and pyglet are going to be swinging back and forth for a while.

I think it's a great step forward for pyggel to be able to choose the back-end renderer.
pyglet's GL layer is not likely to change any time soon. Remember to use python's -O if you want performance to not suck.