PDA

View Full Version : Mathematical calculations using OGSL



rtvd
06-17-2005, 04:50 AM
Hello,

I would like to make 3D cards perform some mathematical computations instead of displaying of graphics.

I suppose I can write a shader in OGSL and provide all source data as arrays of floats to it. But the question is: can I get the result back, if that result is not a picture. Ideally, I would like to get a number of 2D arrays of floats as a result.

Is it possible to do that? And how?

Thank you beforehand.

kingjosh
06-17-2005, 06:35 AM
What you are trying to do is called "General Purpose Programming on the GPU". There is a website (http://www.gpgpu.org) devoted to this, and you will be able to find a lot of information there.