home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m067 / 1.img / DRIVERS / 910.EXE / SETC.DOC < prev    next >
Encoding:
Text File  |  1991-04-18  |  6.6 KB  |  152 lines

  1.  
  2.              Changing the AutoCAD driver default colors for the
  3.                 VGA AutoCAD 256 color mode: 5C  (800x600x256)
  4.                          or 256 color mode: 60  (1024x768x256)
  5.               ________________________________________________
  6.  
  7.     The program SETC 256 allows the user to change the 256 default AutoCAD
  8.  colors.  The program will initially display the default 16 colors and permit
  9.  the user to selectively change each color by altering their RGB values.
  10.     Colors above index 15 are selected by the INSERT key.  This will display
  11.  the color in the upper left of the screen.  The left & right arrow keys
  12.  select the index.  When the color for that index is what is desired, press
  13.  the ENTER key. This will mark it to be written to the RGB.256 file, the word
  14.  "Written" will be displayed and the arrows will go to index 15.  If you just
  15.  want to look at the color, use the left and right arrows to the desired
  16.  index.  If you don't want to write that color to the file, press the ESCAPE
  17.  key. That index won't be "Written" and the arrows will go to index 15.
  18.     When the user is done defining the desired colors, the ENTER key will cause
  19.  the program to save the RGB values for indices 0 through 15 and those that
  20.  were "Written" (for index > 15) for the driver by writing these values to a
  21.  file called RGB.256.
  22.  
  23.  SETC 256 should be run in the same directory that AutoCAD was installed
  24.  in. This is the directory where the driver will look for the file RGB.256
  25.  when AutoCAD is started. If the driver cannot find the RGB.256 file, it
  26.  will use the default AutoCAD colors.
  27.  
  28.                       Format for the file: RGB.256
  29.                       -----------------------------
  30. RGB.256 is a text file with at least 16 lines, up to 256 lines. Each line
  31. has 4 decimal values on it.  The first value is the index (from 0 to 255).
  32. The next value is the intensity for RED (0 to 63).
  33. The next value is the intensity for GREEN (0 to 63).
  34. The last value is the intensity for BLUE (0 to 63).
  35. Each line ends with a carriage return.
  36.  
  37. The first 64 default values are:
  38.  
  39.   N  R  G  B          N  R  G  B          N  R  G  B          N  R  G  B
  40.  -----------         -----------         -----------         -----------
  41.   0  0  0  0         16 31  0  0         32 50 24  0         48 28 21  0
  42.   1 63  0  0         17 31 15 15         33 50 37 25         49 28 24 14
  43.   2 63 62  0         18 28  0  0         34 40 20  0         50 63 62  0
  44.   3  0 63  0         19 28 14 14         35 40 30 20         51 63 62 31
  45.   4  0 63 63         20 63 14  0         36 31 15  0         52 50 49  0
  46.   5  0  0 63         21 63 38 31         37 31 23 15         53 50 50 25
  47.   6 62  0 63         22 50 11  0         38 28 13  0         54 40 40  0
  48.   7 63 63 63         23 50 31 25         39 28 21 14         55 40 40 20
  49.   8 23 23 23         24 40  9  0         40 63 47  0         56 31 30  0
  50.   9 31  0  0         25 40 25 20         41 63 55 31         57 31 31 15
  51.  10 63 47 31         26 31  7  0         42 50 37  0         58 28 27  0
  52.  11  0 31  0         27 31 19 15         43 50 44 25         59 28 27 14
  53.  12  0 40 40         28 28  6  0         44 40 30  0         60 47 63  0
  54.  13 20 30 40         29 28 17 14         45 40 35 20         61 55 63 31
  55.  14 37 25 50         30 63 31  0         46 31 23  0         62 38 50  0
  56.  15 48 48 48         31 63 47 31         47 31 27 15         63 44 50 25
  57.  
  58. The rest of the values may be found by running AutoCAD, then running
  59. SETC 256 and reading the values of indices 64 thru 255.
  60.  
  61.  
  62.              Changing the AutoCAD driver default colors for
  63.            VGA AutoCAD 16 color drivers - ver 1.11 and above
  64.            __________________________________________________
  65.  
  66.    The program SETC 16 allows the user to change the 16 default
  67. AutoCAD colors. The program will display the default 16 colors and
  68. permit the user to selectively change each color by altering their
  69. RGB values. When the user is done defining the desired colors, the
  70. ENTER key will cause the program to save the RGB values for the
  71. driver by writing the values to a file called RGB.16.
  72.    SETC 16 should be run in the same directory that AutoCAD was
  73. installed in. This is the directory where the driver will look for
  74. the file RGB.16 when AutoCAD is started. If the driver cannot find
  75. the RGB.16 file, it will use the default AutoCAD colors.
  76.  
  77.  
  78.                      Format for the file: RGB.16
  79.                      ----------------------------
  80.  
  81. RBG.16 is a text file with 16 lines.  Each line has 5 characters on it:
  82.         3 digits separated by 2 spaces.
  83.   The digits represent color intensities and can be values of: 0,1,2 or 3
  84.         the first digit is the intensity of Red
  85.         the second digit is the intensity for Green
  86.         the third digit is the intensity for Blue.
  87. Each line represents a color index.  The first line represents index 0.
  88. The 16th line represents index 15.
  89. Each line (including line 16) ends with a carriage return.
  90.           R G B─┘
  91.  
  92.    16 colors default
  93.  
  94.           0 0 0
  95.           3 0 1
  96.           3 3 0
  97.           1 3 1
  98.           0 3 3
  99.           1 1 2
  100.           3 0 3
  101.           3 3 3
  102.           1 1 1
  103.           3 0 0
  104.           2 1 0
  105.           0 2 0
  106.           1 2 2
  107.           0 0 3
  108.           2 0 2
  109.           2 2 2
  110.  
  111.  The program SETC 4 allows the user to change 4 of the 16 default
  112. AutoCAD colors. The program will display the default 4 colors and
  113. permit the user to selectively change each color by altering their
  114. RGB values. When the user is done defining the desired colors, the
  115. ENTER key will cause the program to save the RGB values for the
  116. driver by writing the values to a file called RGB.4.
  117.  SETC 4 should be run in the same directory that AutoCAD was
  118. installed in. This is the directory where the driver will look for
  119. the file RGB.4 when AutoCAD is started. If the driver cannot find
  120. the RGB.4 file, it will use the default AutoCAD colors.
  121.  
  122. In the 4 Colors mode, only the first 4 are defined.  Any index above 3 must
  123. be one of the first 4 colors.
  124. The file should be on the directory where you execute Autocad.  If the file
  125. is not there, the driver will use the default values.  Those values are:
  126.  
  127.   4 colors default
  128.  
  129.         0 0 0
  130.         3 0 0
  131.         0 0 3
  132.         3 3 3
  133.         3 0 0
  134.         0 0 3
  135.         3 0 0
  136.         3 3 3
  137.         3 0 0
  138.         3 0 0
  139.         3 0 0
  140.         0 0 3
  141.         3 0 0
  142.         0 0 3
  143.         3 0 0
  144.         3 3 3
  145.  
  146. You must use the program: SETC 4 to set the colors and make RGB.4
  147. For the 4 colors driver you may not have over 4 distinct colors set.
  148. If you do, the driver will reject the RGB.4 file, and use the default set.
  149.  
  150.  
  151.  
  152.