Skip to main content

PyOpenGL and PyOpenGL_accelerate

PyOpenGL is normally distributed via PyPI using standard pip:

$ pip install PyOpenGL PyOpenGL_accelerate

You can install this repository by branching/cloning and running setup.py:

$ cd pyopengl
$ python setup.py develop
$ cd accelerate
$ python setup.py develop

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.

Travis Tests Appveyor Build Latest PyPI Version

Metadata

Release files for PyOpenGL 3.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyOpenGL 3.1.4
File Size Uploaded
PyOpenGL-3.1.4.tar.gz 1.8 MB Details

Release files / PyOpenGL-3.1.4.tar.gz

Download URL PyOpenGL-3.1.4.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
0bdf5ed600df30c8830455702338902528717c0af85ac5914f1dc5aa0bfa6eee
BLAKE2b-256 checksum
How to use checksums
d78a5db9096aa6506e405309c400bd0feb41997689cbba30683479c30dba6355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release history Release notifications | RSS feed

3.1.10

2 release files

3.1.9

2 release files

3.1.7

2 release files

3.1.6

3 release files

3.1.5

3 release files

This release

3.1.4 This release

1 release file

3.1.0

3 release files

3.0.2

4 release files

3.0.1

3 release files

3.0.1a2

3.0.0

3.0.0b8

3.0.0b4

3.0.0b3

3.0.0b2

3.0.0b1

2.0.1.09

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page