5 vs. 8-bit color

New Message Reply Date view Thread view Subject view Author view

DAVE HOATSON (hoatso++at++aaicorp.com)
Tue, 16 Mar 1999 12:46:46 -0500


In my Performer application, I can*t seem to get the system (an O2) to render in 8-bits per color component. The result looks like 5-bits per color.

I am using *glXChooseFBConfigSGIX* and *glXGetVisualFromFBConfig* to specify the frame buffer window. If I specify that I want double buffering, the only available configurations are 5-bits per color, while if I specify no double buffering, I can get 8-bits per color. Why does the realtime application look good even when the frame buffer is not double buffered? Also, when I use an 8-bit per color frame buffer, the end result still appears to be only 5-bits per color. I can use *glDisable(GL_DITHER)* to turn off dithering, but this gives me a banded image where the pixel values still jump in increments of 8, indicating 5-bit color.

What do I need to do to get 8-bits per color?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Mar 16 1999 - 09:47:11 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.