Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
As part of my project, I need to take multiple screenshots of a 3D model application( The application will be in minimised state and hence I need to have a off-screen rendering ). The application contains an openGL view on Windows form C#. I used the API 'glReadPixels' to get the pixels and saving the same to bitmap and I was able to get the bitmap. But using 'glReadPixels', I am able to get only the pixels of openGL view. Hence, I am not able to get the pixels in the Windows form. Is there any way to get the pixels of entire view( openGL view + windows form ) and save the same to bitmap. Thanks in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900