this could be a good demo + test for GLSL, and basic GPGPU processing with GLSL.
1. basic glsl usage.
2. basic GPGPU style usage.
1. It requires opengl-ctypes latest cvs. It works correctly with the command:
python gpudemo.py basic
That just shows a tea pot using a basic shader.
2. To run the GPGPU demo call it like this:
This works correctly almost. It crashes on program exit... The
results printed out are correct. It appears to be a reference
counting type problem.
I've tried it on OSX with an ATI card.
So if people can test this, and debug it I'll clean it up and add it
as a nice demo for pyopengl. I think it must have something to do
with the array handling... or something :)