Screen Capture
How do you make screen capture and put captured image into texture map for OpenGL in run-time? I made a program like that in VB and it worked pretty good. I want to try to make one like it in VC++. If you know please post code here or email to me at gcwebber@inreach.com
Waldoo
Look up glReadPixels. If you already know about it: it''s much the same in C/C++ as how you''d do it in VB.


Yes I know glReadPixel but I dont think it can capture the screen outside glwindow.
Waldoo
Waldoo
I can''t really be sure about this, but IIRC using NULL as the HWND in GetDC() will get you a device context for the entire screen.
Not sure if it works in both win9x and winnt though...
Not sure if it works in both win9x and winnt though...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement