home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.96 / text0363.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  667 b   |  17 lines

  1. Scott Shuchart (shuchart@fas.harvard.edu) wrote:
  2.  
  3. : This situation doesn't make sense to me.  640x480x256 is 1Mb Vram, no matter 
  4. : what the colors are.  And grays are just some colors.  [...]
  5.  
  6. The catch here is that the 256 colors of VGA are chosen from a palette
  7. of 256k (or fewer) colors with standard VGA cards.  Since each gray
  8. must have equal components of red, green, and blue, this reduces the
  9. effective number of true grays to 64 [=262144^(1/3)].  It takes a
  10. 24-bit D/A converter (8-bits in each channel) to generate 256 grays.
  11.  
  12. In the end, the number of grays you can generate depends on the bitness
  13. of your DAC and the smarts of the video driver.
  14.  
  15. --Bill
  16.  
  17.