home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / REND386 / UTILS / OGRE41 / COLOR.DOC < prev    next >
Text File  |  1993-04-08  |  1KB  |  29 lines

  1. This is clipped (and prettified) from the REND386 source code.  It
  2. contains the color table initializatins, and is meant as an aid to help
  3. convert the REND386 basecolor+brightness values into RGB values.
  4.  
  5.  
  6. float m[16] = { 0.08, 0.13, 0.16, 0.20,
  7.                 0.24, 0.28, 0.33, 0.37,
  8.                 0.42, 0.48, 0.54, 0.61,
  9.                 0.69, 0.79, 0.89, 1.00
  10.               };
  11.  
  12.  
  13. 255,   0,   0       /* sat. red           */     1
  14. 255, 127,   0       /* orange/brown       */     2
  15. 255, 127, 127       /* pale pink          */     3
  16. 255, 191, 127       /* tan                */     4
  17. 255, 255, 127       /* pale yellow        */     5
  18. 255, 255,   0       /* yellow             */     6
  19.   0, 255, 127       /* pale green         */     7
  20.   0, 255,   0       /* sat. green         */     8
  21.   0, 255, 191       /* blue-green         */     9
  22.   0, 191, 255       /* sky blue           */    10
  23.   0,   0, 255       /* sat. blue          */    11
  24. 255,   0, 255       /* purple-blue        */    12
  25. 255,   0, 191       /* pink/purple        */    13
  26. 127, 127, 127       /* grey               */    14
  27. 255, 255, 255       /* white              */    15
  28.  
  29.