home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17840 < prev    next >
Encoding:
Text File  |  1992-12-27  |  3.9 KB  |  78 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!wupost!spool.mu.edu!yale.edu!ira.uka.de!fauern!Germany.EU.net!mpifr-bonn.mpg.de!specklec.mpifr-bonn.mpg.de!mlelstv
  3. From: mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst)
  4. Subject: Re: Chunky Pixel Mode for Low End Chip Set?
  5. Message-ID: <1992Dec28.000531.26783@mpifr-bonn.mpg.de>
  6. Sender: news@mpifr-bonn.mpg.de
  7. Nntp-Posting-Host: specklec
  8. Organization: Max-Planck-Institut f"ur Radioastronomie
  9. References: <Karsten_Weiss.0n2o@ibase.stgt.sub.org> <1hbngoINNglt@uwm.edu>       <jbickers.0m2n@templar.actrix.gen.nz> <72410@cup.portal.com>     <1992Dec26.170503.14668@mpifr-bonn.mpg.de>   <jbickers.0m3z@templar.actrix.gen.nz><1992Dec27.011313.18163@mpifr-bonn.mpg.de  > <jbickers.0m50@templar.actrix.gen.nz><1992Dec27.155756.23491@mpifr-bonn.mpg.de> <jbickers.0m6w@templar.actrix.gen.nz>
  10. Date: Mon, 28 Dec 1992 00:05:31 GMT
  11. Lines: 65
  12.  
  13. In <jbickers.0m6w@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
  14. >    You're kidding, right? Sure it's _possible_ to do it with planes,
  15. >    but don't you think it is easier (and it is definitely faster) to
  16. >    do it with chunky pixels?
  17.  
  18. No kidding. You are right that it is _easier_ with chunky pixels, but it
  19. isn't necessarily slower. At some point memory bandwidth determines
  20. execution speed and as long as an image needs the same memory it will
  21. be processed (about) equally fast. My point is that quite often you
  22. can live with a lower _depth_ of an image. A chunky pixel display
  23. will still require processing of the full depth while a planar display
  24. lets you strip extra bits.
  25.  
  26. >    Well, it should be. Bypassing WritePixel() with chunky pixels will
  27. >    be quicker than bypassing WritePixel() with planes. There is only
  28. >    one address calculation, and only one write to memory.
  29.  
  30. Well, I'm not really talking about bypassing a routine and killing
  31. RTG compatibility.
  32.  
  33. >> Yep, drawing thin lines is a plus on chunky pixel architectures. Floodfills
  34.  
  35. >    Any kind of lines.
  36.  
  37. Nope. When you start to make lines thicker than 1 pixel you have to
  38. fill polygons which has some advantages on bitplanes.
  39.  
  40. >> on the other hand can be faster with bitplanes. Not sure about curve drawing
  41.  
  42. >    I don't see how flood filling can be faster with planes. The
  43. >    classic method is mostly ReadPixel() and WritePixel() operations,
  44. >    which chunky pixels excel at.
  45.  
  46. :) Hmm, the classic method is using Flood(). There's nothing that forbids
  47. the graphics.library to access the hardware and use every optimization.
  48.  
  49. >> but most curve drawing routines I know need several multiplications per point.
  50. >    So? There are incremental algorithms for drawing some sorts of
  51. >    curves (like circles), and having chunky pixels isn't going to
  52. >    make the calculation of the curve faster, but it WILL speed up the
  53. >    WritePixel() part of the routine significantly.
  54.  
  55. True. But the WritePixel() (noone will use WritePixel !) part is only a
  56. small part of the rendering operation.
  57.  
  58. >    Anyway, I'm all for a chunky pixel chipset. Even better if it can
  59. >    be mixed with other modes on-screen. Not being a hardware person,
  60. >    it's easy for me to think that the best way to handle graphics
  61. >    boards (with RTG) would have been to have the Copper be able to
  62. >    switch to an external graphics source, so external boards could be
  63. >    "screens" in the system, scrollable and all. Being able to do this
  64. >    without an external graphics board at all would be great.
  65.  
  66. One problem with simply switching video sources is that you have to adjust
  67. where the screen appears. This requires at least some support on the
  68. exernal card. It is also quite impossible to mix different scan frequencies.
  69. If your high-end graphics board does 1280x1024 you can't mix that with
  70. native Amiga screens.
  71.  
  72. Regards,
  73. -- 
  74. Michael van Elst
  75. UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
  76. Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
  77.                                 "A potential Snark may lurk in every tree."
  78.