Welcome to the PyOpenGLng documentation!

Note

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

If you are at http://readthedocs.org then you are reading the so called latest documentation.

The latest documentation PyOpenGLng@readthedocs-badge is automatically built from the git repository after each commit.

As opposite the PyOpenGLng Home Page is built manually and is thus less prone to errors.

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.

Warning

We should test all the API to claim a compliance with the OpenGL API. Since the OpenGL API becomes more and more large and complex over the release, such attempt would require a huge amount of work. Up to now only a part of the API was tested successfully.

Installation

The procedure to install PyOpenGLng is described in the Installation Manual.

Testing

Some examples are provided with PyOpenGLng, see the example section.

Table Of Contents

Next topic

1. Installation

This Page