Skip to content
Allow numpy arrays as source of texture data for pyglet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
pygarrayimage.egg-info
pygarrayimage
.gitignore
README.rst
setup.py

README.rst

:mod:`pygarrayimage` -- fast display of numpy arrays to OpenGL/pyglet

.. module:: pygarrayimage
  :synopsis: fast display of numpy arrays to OpenGL/pyglet
.. index::
  module: pygarrayimage
  single: pygarrayimage

Description

pygarrayimage allows display of Python objects supporting the array interface as OpenGL textures without a copy. The OpenGL texture handling is done using pyglet.

In other words, this allows fast transfer of data from numpy arrays (or any other data source supporting the array interface) to the video card.

Discussion

For the time being, all discussion for this software should happen on the pyglet-users mailing list.

Screenshot

One use case of pygarrayimage is the :mod:`wxglvideo`. Here is a screenshot of the wxglvideo_demo program:

Screenshot of wxglvideo_demo

Download

Download official releases from the download page.

The development version of pygarrayimage (raw files) may be downloaded via git:

git clone git://github.com/motmot/pygarrayimage.git
You can’t perform that action at this time.