pygame is
pygame.org is
|
PyGL3Display
PyGL3Display - 1.9-alpha5David Griffin (habilain)Tags:DescriptionPyGL3Display is a high performance, OpenGL, 2D sprite library for Python/Pygame with a simple API, not too dissimilar to Pygames (There's an API compatible Image object, and Sprites are not too dissimilar). It requires slightly more recent hardware than other libraries, but it is "breaks the Pygame FPS counter" fast*. License: GPL v2 / v3. Commercial licenses are negotiable - at least on parts which I have copyright on (as I am open to outside contribution). Requirements: Python 2.x, Pygame, PyOpenGL, OpenGL 2.0 compliant systemOn Linux only: CFFI can replace PyOpenGL Not yet compatible with Python 3 Main Design: 1. Near optimal performance. 2. Use GPU shaders as much as possible, as Python programs are much more likely to be CPU bound. 3. Clean, easy to use "normal" API, which also has an advanced mode for people who want the absolute maximum in performance and don't mind getting their hands dirty. For normal use, the API should not be any more difficult to use than Pygame. * "Breaks the Pygame FPS counter" fast: On my Phenom II based system, the text demo, which draws a not inconsiderable amount of text, jumps between 3333.33 FPS and 5000 FPS according to a Pygame clock object. A hand written FPS counter indicates the real FPS is about 4200. On a much older system (Pentium 4), PyGL3Display still manages 666.66 FPS according to Pygame clocks - which again, seems like I'm hitting some accuracy limit in floating points. Note: Questions, bug reports etc. are all best done through Launchpad, because that way I'll get notified quickly. ChangesMuch faster startup time
Now supports an arbitary amount of render data for vertex data
Example of using GLUT/PyPNG rather than using Pygame
Support for drawing triangles and ellipses
Note: No support for PyPy as PyOpenGL doesn't work on PyPy Links
ScreenshotReleases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|