Skip to main content

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 (8.3 kB view hashes)

Uploaded source

pygarrayimage-1.0.tar.gz (5.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page