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 PyOpenGLIf 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 TestsYou 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.
Download filesDownload the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution Built Distribution File detailsDetails for the file pyopengl-3.1.9.tar.gz
.
28ebd82c5f4491a418aeca9672dffb3adbe7d33b39eada4548a5b4e8c03f60c8
MD5 f3b334fd5a855e17a644aa1924a9320d
BLAKE2b-256 c04271080db298df3ddb7e3090bfea8fd7c300894d8b10954c22f8719bd434eb
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for pyopengl-3.1.9.tar.gz
:
Details for the file PyOpenGL-3.1.9-py3-none-any.whl
.
15995fd3b0deb991376805da36137a4ae5aba6ddbb5e29ac1f35462d130a3f77
MD5 c7fade5e610cf8f37a532440ea1c8b8f
BLAKE2b-256 92448634af40b0db528b5b37e901c0dc67321354880d251bf8965901d57693a5
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for PyOpenGL-3.1.9-py3-none-any.whl
:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4