From: Brian Paul <brian@tu...> - 2003-03-04 16:09:46
Michael Vergoz wrote:
> Hi list,
> I want to create a .png file with Mesa rendering. How to ?
> I'm a noob :)
Use glReadPixels() pull the rendered image out of the framebuffer, then use
your favorite PNG library to write the image to a file.
OpenGL itself has no facility for file I/O.