View Full Version : glreadpixels - getting the colors

06-03-2001, 02:20 AM
Using the glreadpixels function on openGL i'm in a big struggle trying to get the RGB components of each pixel in this function.

Any help will be MUCH appreciated.
Thanks in advance,
Abraham Yezioro.

06-03-2001, 11:37 AM
The first least significant 8 bits is some color, the next 8 is another color, and then the next 8 are the last. I wouldn't know which is which because glReadPixels is WAAYYY too slow to really do anything with it. In the future, it may improve, but certainly not any time soon I guess. We'd all have to have GeForce3s, and they would have to be considered slow for this to be reasonable.