home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14285 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!network.ucsd.edu!cogsci!crl!hartung
  2. From: hartung@crl.ucsd.edu (Jeffrey P. Hartung)
  3. Newsgroups: comp.graphics
  4. Subject: Re: Millions! of colors...
  5. Message-ID: <1856@cogsci.ucsd.EDU>
  6. Date: 26 Jan 93 16:32:26 GMT
  7. References: <1993Jan20.180052.133265@ns1.cc.lehigh.edu> <1993Jan21.031952.4994@leland.Stanford.EDU>
  8. Sender: news@cogsci.ucsd.EDU
  9. Organization: University of California, San Diego
  10. Lines: 33
  11.  
  12. In article <1993Jan21.031952.4994@leland.Stanford.EDU> ledwards@leland.Stanford.EDU (Laurence James Edwards) writes:
  13. >Well, yes you're right you can't use that many, but note there is a difference
  14. >between most 8-bit cards and 24bit cards. Almost all 8bit cards use a lookup
  15. >table with 24bit entries, whereas 24bit cards do not use a lookup table at all.
  16.  
  17. Very few (S)VGA cards actually have DACs that can do 8-bits per primary.  Most
  18. only use 6-bits per primary.  The highest 2 bits are ignored in a 24-bit RGB
  19. color specification.  A few have switchable DACs that can be made into 8-bit
  20. per primary.  They are useful when you need to create a 256 color monochrome
  21. gradient, for instance, or a 256 color greyscale image.
  22.  
  23. >Now all you really need is a 20bit card with a lookup table that has 24bit
  24. >entries, and you're range of available colors would be exactly the same (on a
  25. >1024x768 screen) as the 24bit card. But, now you've got a very large lookup
  26. >table (3MB) in addition to you're screen memory, so it's cheaper and simpler
  27. >from the hardware design standpoint to just go with the 24bits and no lookup
  28. >table.
  29.  
  30. This would be silly since you'd have to send 3 bytes to specify the index
  31. value (with the high nibble on one byte being ignored) in a 20-bit lookup
  32. table and _then_ have the lookup table send the analog RGB signals to the
  33. monitor.  Furthermore, with a good dithering algorithm and color optimization
  34. routine, 256 colors can look pretty good under most circumstances if speed is
  35. of the essence.
  36.  
  37. >Larry Edwards
  38.  
  39.  
  40. -- 
  41.  --Jeff Hartung--      
  42.  Disclaimer: My opinions only, etc., etc., BLAH! BLAH! BLAH!...
  43.  InterNet - hartung@crl.ucsd.edu         BITNET - hartung@ucsd
  44.  UUCP - ucsd!crl.ucsd.edu!hartung
  45.