GLSL GPGPU demo - with a crash. Please help?

"René Dudfield" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Hi,

this could be a good demo + test for GLSL, and basic GPGPU processing with GLSL.

http://rene.f0o.com/~rene/stuff/gpudemo.py

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:
python gpudemo.py


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 :)


cu,

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.