Where can I get some example for write ogl image to a file?


Can anybody tell me how to write the ogl screen to a file? Or tell me where can I find some example code.


well it aint too hard. glreadpixles to get the buffer data. Then use quicktime or jpeglib to save the data. I expect jpeglib has such an example.