Skip to content

motmot/pygarrayimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

: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