PDA

View Full Version : record animation?



09-22-2003, 09:20 AM
I'm trying to figure out how to save an OpenGL animation for playback at a later time. The program is written in Compaq Visual Fortran. If anyone knows if it is possible to save an animation or if they know how I'd appreciate the help. Thanks.

09-22-2003, 10:08 AM
Well, after you render a scene you can read the framebuffer back with glReadPixels and output to a file, or pass to your video encoder system.

Graphics hardware isn't optimized for sending data from the card back to the system memory, so it won't be fast... but it is both easy and effective.

PanzerSchreck
09-22-2003, 11:05 AM
And if you don't want to integrate videorecording directly into your app, you can use a tool called FRAPS ( http://www.fraps.com ) that'll do the work for you.