1#!F-adobe-helvetica-medium-r-normal--18* 2#!N 3#!CSeaGreen #!N #!Rclrs Colors #!N #!EC #!N #!N 4Colors define the photometric characteristics of an Object; they may be 5associated with points, triangles, or lights, and may be used to 6define its reflectance or opacity. In Data Explorer, colors are floating-point 7numbers and therefore open ended, as is light intensity in the 8real world. However, real output devices can display only a limited 9range of intensities. In general, the range from 0.0 to 1.0 10is by default mapped onto the range of displayable intensities of 11the output device, so colors should normally be specified in this 12range. Data Explorer provides a routine that constructs an RGB color 13structure. #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N typedef struct rgbcolor { #!N 14float r, g, b; #!N } RGBColor; #!EF #!N #!N #!EC 15#!N #!I0 #!N #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* RGBColor DXRGB() #!EF 16#!EF #!I50 #!N Constructs an RGB color structure with the given 17components. See #!Ldxrcol,dxall1360 h DXRGB #!EL . #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* Error DXColorNameToRGB() 18#!EF #!EF #!I50 #!N Gets the RGB values for a specified 19colorname string. See #!Ldxcntr,dxall1182 h DXColorNameToRGB #!EL . #!I0 #!N #!N #!N #!N #!N 20 #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Lall1109,dxall1110 h Angles #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N 21