Window capturing?
I'm currently trying to make an application that captures a screenshot of a game window (say Nexuiz), and then displays it in my application as an OpenGL quad.
Is this possible without hooking and stuff?
Thanks!
Are you capturing the whole desktop with the game or just the game itself?
Since I think you are utilizing Opengl, try "glReadPixels()".
Since I think you are utilizing Opengl, try "glReadPixels()".
If you mean reading pixels from another application you should be able to find the window handle and use GetDIBits. This may require the window in question not to be obscured.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement