how to capture a Frame / output window?

we wrote a program to display molecules at different time from a data to capture the output for each time frame and save it ?

Take a look at the glReadPixels() function. It allows you to read a block of pixels from OpenGL’s frame buffer.


More specifically, the code (in this case it writes TGA files) is at:


OOh, an unregistered UIUC CS319 student. How very intriguing


it worked cool.