View Full Version : How to wrap GL calls?

06-29-2003, 08:41 AM

Some students at MIT had shown it, but how.
If i understand it correct, they created an OpenGL Wrapper to change some GL Calls.

So now my question, how can this be done.

I want to catch some gl Calls to catch the values and create a floatbuffer for my specialized fragmentprogram.

Thanks for your help

06-29-2003, 09:09 AM
What OS? If you're talking about Windows, you could just start with the GLTrace (http://www.hawksoft.com/gltrace/)
source code and modify the functions you want to catch.