View Full Version : how to capture a Frame / output window?
04-18-2000, 11:20 AM
we wrote a program to display molecules at different time from a data file.how 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: http://www-courses.cs.uiuc.edu/~cs319/mp2.html
04-19-2000, 05:12 AM
OOh, an unregistered UIUC CS319 student. How very intriguing http://www.opengl.org/discussion_boards/ubb/smile.gif
04-27-2000, 07:31 AM
it worked cool.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.