PDA

View Full Version : fast glReadPixels



naf
08-29-2002, 12:56 AM
What's the fastest way to read pixels from the frame/depth buffers? what's the best data format to use, and pixel storage parameters?

mikael_aronsson
08-29-2002, 01:33 AM
Hi !

There is none... glReadPixels is always slow, but keeping it simple is usual the best thing, if you are using a format as similair as possible to the actual video resolution you should have something to start with. (RGB or RGBA as bytes).

Mikael