Jump to content
  • Advertisement
Sign in to follow this  
_the_phantom_

OpenGL GLIntercept

This topic is 5071 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Having just saved (whats left of) my sanity with this little tool I thought I'd make a quick post letting people out there know it exists, incase it had passed them by. GLIntercept is basically an OpenGL function call logger which allows you to see whats going on in the program, even a release one, with the data you are sending to OpenGL. As mentioned, its just saved my sanity; I had a program which rendered a green overlay over a terrain and it was working fine on 3 computers and not fine on 3 others, we couldnt find any common difference between the working and non-working systems. Then, without any changes to the code it stopped working on mine (but only outside the IDE) which pointed it at a memory stomping thing. I checked, double and triple checked the code and I couldnt find a point where memory would be getting munched. So, I break out GLIntercept to see just wtf was going on. A few seconds into the log it became clear; a varible I was using for a vertical offset for the overlay to get it to the right height was set to some foolishly high number, yep, I forgot to zero it on class construction so it was buggering up. One quick poke later and all is well. GLIntercept I salute you! *salutes*

Share this post


Link to post
Share on other sites
Advertisement
Couldn't agree more, although in my case i use glTrace

At first I used it to anaylise various game outputs, and then to extend the features of an existing application. Its very useful and I found I learnt a great deal about openGL from it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!