putting and retrieving colours...help!
Jim Bennett
bennett at sgi.com
Wed Aug 29 03:45:21 AEST 1990
In article <10335 at pt.cs.cmu.edu> cycy at isl1.ri.cmu.edu (Scum) writes:
>I'm having a very vexxing problem right now. I'm in doublebuffer, RGB mode.
>In the backbuffer, I draw an object in 3-space with 0x01f as it's colour.
>Just before this, I turn off lighting mode by binding the material to 0,
>set the shademodel to FLAT, and even turn off zbuffering. What I get immediately
>back, however, is 0x11 ! To get the colour of the pixel, I cmov to a position
>where I drew the object, and use readRGB.
In the example you gave, the RGBrange command will override the color
command, so the color will be determined by the Z value.
Jim Bennett (bennett at esd.sgi.com)
More information about the Comp.sys.sgi
mailing list