FRAPS-like app (source included)
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.
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?
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.
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.
i test in some of my app without it the fps high but when i use it the fps get drop to 70~% down >_<
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement