Jump to content
  • Advertisement
Sign in to follow this  
mikeman

OpenGL FRAPS-like app (source included)

This topic is 4769 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

Ok, so inspired by a recent thread I decided to make an FRAPS-like application that can overlay info like FPS over any OpenGL game. It's done, and I though I share. You can find it here:http://www.angelfire.com/games5/mikeman/A_GL_CATCHER.zip All you have to do is run gl_catcher.exe and it will be attached to any OpenGL app. When you don't want that anymore, just close it. It displays the fps, the resolution and the renderer. Source is included, so you can edit the DrawOverlay() and MySwapBuffers() functions to define your own behaviour(I suppose it wouldn't be too hard with a few additions to capture screenshots). I've tested it with several games(including Q2 and Doom3), so if you encounter any problems let me know.

Share this post


Link to post
Share on other sites
Advertisement
Awesome! Thanks for sharing this, works good so far. I just downloaded a random NeHe tutorial and ran it [wink]. R++! What kind of license is this released with and what can we do with the source? Also, any links for influences on the techniques you used to make this?

Share this post


Link to post
Share on other sites
That is pretty damn cool! One bug I found with it though - I tried it out on a vb.net level editor tool I'm making using CsGL (as a control) & it worked fine, however when I closed the catcher down with the app still running it completely killed the contents of the csgl control as well (draws a white box with a red cross in it) & crashed the program.

Did you write it? I'd be interested in the licence for this as well. I'm checking the source in a minute to see about screencaps & video capture possibilities.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
i test in some of my app without it the fps high but when i use it the fps get drop to 70~% down >_<

Share this post


Link to post
Share on other sites
DrewGreen, thanks for noting the bug, fixed it and uploaded it again. The source is free, you can do whatever you want with it. As for the FPS drop, I've only experienced a couple of frames lost in all the games I've tried it, FRAPS loose more from what I've seen.

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!