Seamus Thomas Carroll wrote:
Hi,

Does anyone know of a way to save the glbuffer as a jpeg? Currently the images are saved as a ppm but this requires a lot of space. A hint on what library to use might be enough for me to figure out the rest.

There is already a jpeg server available for FlightGear (configure SimGear with --with-jpeg-factory and the code can be found in SimGear/simgear/screen/jpgfactory.[ch]xx


I must admit the ppm screenshot saver does have it's disadvantages, for example the resulting screenshot is much darker compared to the actual situation in FlightGear. Maye this has something to do with gamma correction?

Erik

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to