Standard OpenGL bindings for Python
Project description
PyOpenGL is normally distributed via PyPI using standard pip:
$ pip install PyOpenGL PyOpenGL_accelerate
You can install this repository by branching/cloning and running pip:
$ cd pyopengl $ pip install -e . $ cd accelerate $ pip install -e .
Note that to compile PyOpenGL_accelerate you will need to have a functioning Python extension-compiling environment.
Learning PyOpenGL
If you are new to PyOpenGL, you likely want to start with the OpenGLContext tutorial page. Those tutorials require OpenGLContext, (which is a big wrapper including a whole scenegraph engine, VRML97 parser, lots of demos, etc) you can install that with:
$ pip2.7 install "OpenGLContext-full==3.1.1"
Or you can clone it (including the tutorial sources) with:
$ git clone https://github.com/mcfletch/openglcontext.git
or (for GitHub usage):
$ git clone https://github.com/mcfletch/pyopengl.git
The documentation pages are useful for looking up the parameters and semantics of PyOpenGL calls.
Running Tests
You can run the PyOpenGL test suite from a source-code checkout, you will need:
git (for the checkout)
GLUT (FreeGLUT)
GLExtrusion library (libgle)
GLU (normally available on any OpenGL-capable machine)
tox (pip install tox)
Running the test suite from a top-level checkout looks like:
$ tox
The result being a lot of tests being run in a matrix of environments. All of the environment will pull in pygame, some will also pull in numpy. Some will have accelerate, and some will not.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyopenglalwaysworking-3.1.99.tar.gz
.
File metadata
- Download URL: pyopenglalwaysworking-3.1.99.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1c08ac96e65832a3d2289c8012597b93051536d3976b8fb6f629803cb3a83e |
|
MD5 | 481b155a070c02dbb69f6579e13e6f13 |
|
BLAKE2b-256 | 4de76a5a5bdba16b783883a0ef9be5b7b96010e75e592782824237453344d57f |
File details
Details for the file PyOpenGLAlwaysWorking-3.1.99-py3-none-any.whl
.
File metadata
- Download URL: PyOpenGLAlwaysWorking-3.1.99-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2850bae2248fc14dfcb573c217d69ea4ac65176f96d88956d92a1edc248f465 |
|
MD5 | 7f7669a280df37a27464667db8c4d740 |
|
BLAKE2b-256 | 476b73411d4ad148801db3f0b967618ac5424eb1ad376ff9fff9447897d85d0d |