home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Zone
/
VRZONE.ISO
/
mac
/
PC
/
REND386
/
UTILS
/
OGRE41
/
COLOR.DOC
< prev
next >
Wrap
Text File
|
1993-04-08
|
1KB
|
29 lines
This is clipped (and prettified) from the REND386 source code. It
contains the color table initializatins, and is meant as an aid to help
convert the REND386 basecolor+brightness values into RGB values.
float m[16] = { 0.08, 0.13, 0.16, 0.20,
0.24, 0.28, 0.33, 0.37,
0.42, 0.48, 0.54, 0.61,
0.69, 0.79, 0.89, 1.00
};
255, 0, 0 /* sat. red */ 1
255, 127, 0 /* orange/brown */ 2
255, 127, 127 /* pale pink */ 3
255, 191, 127 /* tan */ 4
255, 255, 127 /* pale yellow */ 5
255, 255, 0 /* yellow */ 6
0, 255, 127 /* pale green */ 7
0, 255, 0 /* sat. green */ 8
0, 255, 191 /* blue-green */ 9
0, 191, 255 /* sky blue */ 10
0, 0, 255 /* sat. blue */ 11
255, 0, 255 /* purple-blue */ 12
255, 0, 191 /* pink/purple */ 13
127, 127, 127 /* grey */ 14
255, 255, 255 /* white */ 15