Skip to content
/ pyopengl Public
forked from mcfletch/pyopengl

Repository for the PyOpenGL Project (LaunchPad Mirror)

License

Notifications You must be signed in to change notification settings

mmatl/pyopengl

This branch is 2 commits ahead of, 374 commits behind mcfletch/pyopengl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

76d1261 · Jul 9, 2019
Jul 9, 2019
Nov 5, 2018
Feb 18, 2018
Jul 11, 2013
Nov 5, 2018
Nov 5, 2018
Feb 18, 2018
Nov 5, 2018
Aug 12, 2018
Nov 5, 2018
Nov 5, 2018
Jan 3, 2016
Feb 26, 2018
Jan 2, 2014
Aug 10, 2018
Aug 10, 2018

Repository files navigation

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:

$ bzr branch lp:openglcontext

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) or bzr (if you are checking out from launchpad)
  • 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.

https://travis-ci.org/mcfletch/pyopengl.svg?branch=master

About

Repository for the PyOpenGL Project (LaunchPad Mirror)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%