On Dec 22, 2010, at 10:11 AM, beo wulf wrote: > I have OpenGL code written in factor. > I want to capture it's output. > I don't want to use some external tool -- I want to dump every frame. > > I see the glReadPixels function -- which is good. Generally, I dump to tiff, > but looking at the tiff vocab, it appears to be focused on reading tiff > images rather than constructing tiff images from void*'s. > > Has anyone dealt with this problem (dumping out OpenGL frames) in factor > before? If so, how did you solve it?
Most of the images.* libraries only read in images, but I believe "images.bitmap" and "images.tga" can output uncompressed .BMP and .TGA files. I know you said you don't want to use external tools, but if you're on Windows, Fraps (http://fraps.com/) is really your best bet for capturing frame-by-frame movies of OpenGL applications. -Joe ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
