pyglet is both 2d and 3d. Try the attached (if attachments are allowed, otherwise consider the opengl example coming with pyglet) and press F1, F2, and F3 to change between 2d (pygame-like), 3d isometric, and 3d perspective views.ÂI think it's a little tough getting up and started with pyglet for 3d applications; I learned 3d with VPython, which makes everything seem so simple, so that it makes everything else seem harder! I'd like to see pyglet even more simplified in that way, but perhaps that's something along what you're doing.--On Sat, Jan 24, 2015 at 8:28 PM, Sam Bull <sam.hacking@xxxxxxxx> wrote:On sab, 2015-01-24 at 09:35 -0700, Matt Roe wrote:
> Lucas: in regards to PYGGEL or to what Sam said? Last I looked (which
> has been some years), pyglet was basically similar to Pygame, just
> built fully for OpenGL for accelerated 2d graphics as well.
What he said. To my knowledge pyglet is an alternative to Pygame, it
does not provide any support for 3D graphics. The library I'm working on
simply uses pyopengl, so it doesn't depend on Pygame and should work
just fine with Pyglet or anything else that provides an OpenGL context.
Though I've personally only tested it with Pygame, and the examples use
Pygame (for now).