Allow numpy arrays as source of texture data for pyglet.
Project 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.
TODO: support the buffer interface added with Python 2.6/3.0 rather than the numpy-defined array interface.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
pygarrayimage-1.0.zip
(8.3 kB
view hashes)
pygarrayimage-1.0.tar.gz
(5.4 kB
view hashes)