Skip to main content

Standard OpenGL bindings for Python

Project description

Warning:

This repository is simply a working fork of the original PyOpenGL repository. This fork make just the repo working both on windows and linux.

Original Pypi project : https://pypi.org/project/PyOpenGL/

Repository Pypi project (the one you should install) : https://pypi.org/project/PyOpenGLAlwaysWorking/

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 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.

Travis Tests Appveyor Build Latest PyPI Version Monthly download counter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyopenglalwaysworking-3.1.100.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyOpenGLAlwaysWorking-3.1.100-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file pyopenglalwaysworking-3.1.100.tar.gz.

File metadata

  • Download URL: pyopenglalwaysworking-3.1.100.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

Hashes for pyopenglalwaysworking-3.1.100.tar.gz
Algorithm Hash digest
SHA256 307b48e87315e2c7dc1d58c9ee3fe567f3d83da80a4fae139f0586939bbcdad5
MD5 0974f04f8f9e416cb433c644649e2fb4
BLAKE2b-256 4dc4a3bf81dd3f41daafdbb02500f02891af13e48bfaaeffeea8d86b64228aa4

See more details on using hashes here.

File details

Details for the file PyOpenGLAlwaysWorking-3.1.100-py3-none-any.whl.

File metadata

File hashes

Hashes for PyOpenGLAlwaysWorking-3.1.100-py3-none-any.whl
Algorithm Hash digest
SHA256 a0c717b2e729aea77fcb344649f6f12f52723f15fec21cbe0f3a4f925c914422
MD5 7df4a5713cfe237cdcdfbebc4d49768a
BLAKE2b-256 6a4c0164bb5f0c88f1eadfd46f4a8772f57d672b9e5de8e76c881b222ab1735e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page