I have a question about color index management.  In all the books I've read about
GL, there is NO definition of how RGB colors must be distributed across color indexes; 
apparently, it's implementation-dependent.  However, if we look at the Palm, we'll see 
it
has a "white" screen (by now, it's green, but the soon-to-come Color Palm will have it 
white), and the pixels written to the screen are black, in contraposition with most PC 
video 
screens.  GL's reference manual says that the default clear color (the one specified 
with 
glClearColor() ) for RGB windows is (0,0,0), and for color index windows, it must be 
0.  So 
this ends up in we have a default clear color of "black" for RGB windows, but a 
"white" 
(color 0) color for color index windows in the Palm!  I perfectly understand one thing 
is the 
standard, and another thing (sometimes very different) is what people actually do. So, 
my 
question:  Should I use the color indexes that the Palm uses now (0 = white, max = 
black), or 
should I remap these indexes to obtain a closer match to the current implementations 
of GL, 
including Mesa?

 - izhido
   ([EMAIL PROTECTED])



theglobe.com
  Your friendly full-service integrated online community.
  http://www.theglobe.com


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to