|
|
 |
07-04-2012, 07:20 PM
|
#1
|
|
Junior Member
Join Date: Jul 2012
Posts: 11
|
OpenGL Inspector (FRAPS equivalent) for OSX
While reading Anand's review of the rMBP I noticed the comment about the lack of a FRAPS equivalent for OSX. So, I did what any uni student with a 4 week holiday would do and got to work on one (after emailing Anand about it).
Right now I've only got the benchmarking side of things working (I'm about to get working on video recording) but I figured I'd share my work in progress.
This video shows a demo of a slightly older build where you had to authenticate every time you tried to sample a process, however now the authentication is done at launch (there's two dialogs, one for the 32 bit daemon and one for the 64 bit daemon). http://www.youtube.com/watch?v=ZGZ4ZRRV3GQ
Download (64-bit, Lion only):
http://mhenr18.com/gl/OpenGL%20Inspector.app.zip
|
|
|
07-04-2012, 08:40 PM
|
#2
|
|
Moderator Mobile Devices & Gadgets
Join Date: Sep 2004
Location: New Cumberland, PA
Posts: 10,253
|
Looks good, excellent initiative. Frankly, i don't have much use for it (I say that now, but I will find a reason to use this for nerd bragging rights), but it looks straightforward and easy enough to use.
Keep us posted, what did Anand say?
__________________
Quote:
Originally Posted by mfenn
The 6770M can play Crysis 2, for suitably small values of play
|
|
|
|
07-04-2012, 09:03 PM
|
#3
|
|
Junior Member
Join Date: Jul 2012
Posts: 11
|
Here's the email trail up to his response about my first demo video:
Quote:
This is awesome!!! Great work 
An overlay is useful but not a show stopper if it's not present, even making it optional and clear that it only works in some apps would be fine though.
Is there any chance you could have the tool automatically attach to a running foreground process? In the case of diablo 3 full screen it would be nice if your tool could just auto attach rather than requiring the user to cmd tab out, attach, then cmd tab back in. Not all games handle cmd tabbing back and forth so gracefully which is why this would be useful.
Hotkey support would also be a must have as you mentioned.
Take care,
Anand
On Jun 29, 2012, at 10:11 AM, Matthew Henry <matt.henry@me.com> wrote:
After spending a while nutting things out and getting it all stable for both 32/64 bit processes, I figured I'd record a demo of what I've got in action (excuse the voiceover - it's not the greatest).
http://www.youtube.com/watch?v=BehJsimNzLA
Clearly it needs more work, but now that I've got it stable adding things won't be hard at all. I've had a few attempts at drawing an overlay in the targeted application but my biggest issues there have been getting it to work reliably across all apps and not introducing any overhead from my code. Would the lack of an overlay be a show-stopper for you?
On 24/06/2012, at 3:58 AM, Anand Shimpi wrote:
Awesome! I can't wait!
On Jun 23, 2012, at 1:42 PM, Matthew Henry <matt.henry@me.com> wrote:
Righto, I'll get back to you once I've got something worth your time. Shouldn't take too long - I already managed to get recording mostly working.
Matthew Henry
matt.henry@me.com
0411 746 621
On 24/06/2012, at 3:26 AM, Anand Shimpi wrote:
Pretty much cloning FRAPS functionality would be great. Recording frame rate over time, calculating average, min, max, etc…
That would be a great start
On Jun 23, 2012, at 9:19 AM, Matthew Henry <matt.henry@me.com> wrote:
While reading your review of the Retina MBP, I saw that you're interested in a FRAPS equivalent for OSX.
I've just finished a semester of uni so I've got 4 weeks of free time to build one - I've already thrown something together that injects custom code into any OSX OpenGL application and gives me full access to the OpenGL context every frame, allowing for things like recording and FPS display (which I'm implementing right now).
Are there any other capabilities that you'd want?
Matthew Henry
matt.henry@me.com
(+61) 411 746 621
|
I haven't gotten any response yet from him about this build. To be honest I think the major appeal will be once I get recording working - as you can see in the demo video QuickTime's recording destroys my Mac's performance and in early builds I've had recording working at 60fps with a much lower CPU usage.
|
|
|
07-04-2012, 09:13 PM
|
#4
|
|
Moderator Mobile Devices & Gadgets
Join Date: Sep 2004
Location: New Cumberland, PA
Posts: 10,253
|
Also, welcome to the forums, stay out of Off Topic for a while, well, stay out of Off Topic, Politics & News and Love & Relationships. For ever. Don't ever go there.
__________________
Quote:
Originally Posted by mfenn
The 6770M can play Crysis 2, for suitably small values of play
|
|
|
|
07-04-2012, 09:14 PM
|
#5
|
|
Junior Member
Join Date: Jul 2012
Posts: 11
|
Haha, I've been in my fair share of forums over the years so I should be fine. Thanks
|
|
|
07-06-2012, 04:52 AM
|
#6
|
|
Super Moderator Elite Member
Join Date: Oct 1999
Posts: 26,629
|
You've managed to impress The Boss. That's a very difficult thing to accomplish!  Nice work.
__________________
ViRGE
Team Anandtech: Assimilating a computer near you!
GameStop - An upscale specialized pawnshop that happens to sell new games on the side
Todd the Wraith: On Fruit Bowls - I hope they prove [to be] as delicious as the farmers who grew them
|
|
|
07-06-2012, 09:52 AM
|
#7
|
|
Lifer
Join Date: Nov 2001
Location: Alabama
Posts: 21,126
|
If you can make it not crash the application if you alt-tab while recording, you've got a leg up on FRAPS.  Was doing a bit of recording in Diablo III, and F9 was also bound to the achievement button. I had the overlay turned off, and started recording. I ALT-TAB'd, and when I tried to re-enter Diablo III, it crashed.
Chances are that's a DirectX issue, but that actually brings up an interesting idea for a feature that I don't think FRAPS has: always show overlay while recording. The overlay isn't always the prettiest thing to see on your screen, so I turn it off from time to time (also annoying that it takes so many presses of F12 to turn it off), but if I had it on while recording, I would notice when I'm actually recording (the numbers turn red).
|
|
|
07-06-2012, 12:30 PM
|
#8
|
|
Diamond Member
Join Date: Oct 1999
Posts: 4,983
|
Good job man! Really cool.. I'll be playing with this for sure.
|
|
|
07-07-2012, 01:34 AM
|
#9
|
|
Junior Member
Join Date: Jul 2012
Posts: 11
|
I've decided to rename it to GLIT (GL Injection Tool) to more closely reflect what it actually does. Also, here's a screenshot of the new UI that I'm using:
|
|
|
07-07-2012, 07:11 PM
|
#10
|
|
Lifer
Join Date: Nov 2001
Location: Alabama
Posts: 21,126
|
The new name is a typo off of becoming rather racy!
|
|
|
07-07-2012, 07:12 PM
|
#11
|
|
Junior Member
Join Date: Jul 2012
Posts: 11
|
Quote:
Originally Posted by Aikouka
The new name is a typo off of becoming rather racy! 
|
Any ideas for something else?
|
|
|
07-08-2012, 09:12 PM
|
#12
|
|
Super Moderator Elite Member
Join Date: Oct 1999
Posts: 26,629
|
Quote:
Originally Posted by mhenr18
Any ideas for something else?
|
Eh, the name is fine.
__________________
ViRGE
Team Anandtech: Assimilating a computer near you!
GameStop - An upscale specialized pawnshop that happens to sell new games on the side
Todd the Wraith: On Fruit Bowls - I hope they prove [to be] as delicious as the farmers who grew them
|
|
|
07-09-2012, 03:41 PM
|
#13
|
|
Lifer
Join Date: Nov 2001
Location: Alabama
Posts: 21,126
|
Well, if you told me that you made a "GL Injection Tool", I would personally not have any idea of what you're talking about. I would probably assume that it was some sort of hacking tool not a FRAPS-like application. I know that I like making app names with acronyms in them... it's probably more fun than creating the actual program! However, sometimes it's easier to understand a program if the name is more explicit.
FRAPS has it a bit easier since the name has become a bit synonymous with game recording (at least in the nerdier circles). I mean... how often do you hear people use it as a verb?
|
|
|
11-11-2012, 05:54 AM
|
#14
|
|
Junior Member
Join Date: Nov 2012
Posts: 1
|
Download link dont work
The Download link isn't working anymore :/
|
|
|
11-11-2012, 11:22 AM
|
#15
|
|
Member
Join Date: Oct 2012
Location: Boston
Posts: 102
|
Looks pretty slick I must say. Keep working on it and hopefully everything will come together nicely for you.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:54 AM.
|