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

  1. In article <4e5gg2$f6@newsstand.cit.cornell.edu>,
  2. William Magro <wmagro@msc.cornell.edu> wrote:
  3. >Scott Shuchart (shuchart@fas.harvard.edu) wrote:
  4. >
  5. >: This situation doesn't make sense to me.  640x480x256 is 1Mb Vram, no matter 
  6. >: what the colors are.  And grays are just some colors.  [...]
  7. >
  8. >The catch here is that the 256 colors of VGA are chosen from a palette
  9. >of 256k (or fewer) colors with standard VGA cards.  Since each gray
  10. >must have equal components of red, green, and blue, this reduces the
  11. >effective number of true grays to 64 [=262144^(1/3)].  It takes a
  12. >24-bit D/A converter (8-bits in each channel) to generate 256 grays.
  13. >
  14. >In the end, the number of grays you can generate depends on the bitness
  15. >of your DAC and the smarts of the video driver.
  16.  
  17. But most all cards capable of doing more than 256 colors also have 24-bit (as
  18. opposed to 18-bit) DACs.  My s3-968 based card can do 256 greyscales when in
  19. 8-bit pseudocolor mode.  So can just about any modern graphics card.
  20.  
  21. -- 
  22. |Gazing up to the breeze of the heavens \ on a quest, meaning, reason  |
  23. |came to be, how it begun \ all alone in the family of the sun         |
  24. |curiosity teasing everyone \ on our home, third stone from the sun.   |
  25. |Trent Piepho (xyzzy@u.washington.edu)                   -- Metallica  |
  26.  
  27.