Skip to main content

An experimental OpenGL wrapper for Python using ctypes or CFFI

Project description

PyOpenGLng

The official PyOpenGLng Home Page is located at http://fabricesalvaire.github.io/PyOpenGLng

The latest documentation build from the git repository is available at readthedocs.org PyOpenGLng@readthedocs-badge

Written by Fabrice Salvaire.

PyOpenGLng license PyOpenGLng python version

PyOpenGLng last version PyOpenGLng format PyOpenGLng Download per month


Introduction

PyOpenGLng, proudly blessed as is, is an experimental OpenGL wrapper for Python which generates the requested OpenGL API from the OpenGL XML API Registry and use an automatic translator to map the C API to Python. The interface between C and Python is supported by ctypes and also by CFFI which paves the way to use the pypy interpreter.

By design this wrapper supports all the OpenGL version, but it focus towards the programmable pipeline and the most recent OpenGL API. On Linux desktop, Mesa 3D Graphics Library release 10 (November 2013) supports the OpenGL 3.3 API for Intel HD GPU.

The Python package provides three components:

  • an Oriented Object API to the OpenGL XML registry,

  • a ctypes and CFFI wrapper,

  • an experimental high level API.

Bibliography

The followings list of links provides an overview on the topic:

Installation

Dependencies

PyOpenGLng requires the following dependencies:

  • Python 2.7

  • Numpy

  • freetype-py

  • PyQt 4.9 for the high level API and the examples

Installation from PyPi Repository

PyOpenGLng is made available on the PyPI repository at https://pypi.python.org/pypi/PyOpenGLng

Run this command to install the last release:

pip install PyOpenGLng

Installation from Source

The PyOpenGLng source code is hosted at https://github.com/FabriceSalvaire/PyOpenGLng

To clone the Git repository, run this command in a terminal:

git clone git@github.com:FabriceSalvaire/PyOpenGLng.git

Then to build and install PyOpenGLng run these commands:

python setup.py build
python setup.py install

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

PyOpenGLng-0.1.2.tar.gz (12.8 MB view details)

Uploaded Source

File details

Details for the file PyOpenGLng-0.1.2.tar.gz.

File metadata

  • Download URL: PyOpenGLng-0.1.2.tar.gz
  • Upload date:
  • Size: 12.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyOpenGLng-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3ac1c9dfa0d9e9f73295efba6df323cb5eaf2ba61b065bf2079b338488155d24
MD5 46f199b8d1a4e7aeaa309de007b005ff
BLAKE2b-256 4fa76323105b8eaaf48c939ef31e0458b510fe987f17e2c9bc8b2af3c4a99351

See more details on using hashes here.

Supported by

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