home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5323 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <4hoe66$kj7@unokegw.unoke.pfu.co.jp>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Tue, 12 Mar 96 19:00:09 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Tue, 12 Mar 96 20:21:32 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: blitter is slow?
  13. Message-ID: <38232939@kone.fipnet.fi>
  14.  
  15.  
  16. > I have programmed on my A1200 030/50mhz that some filled polygons
  17. > rolling on PAL screen.
  18. > I used blitter to draw polygon(line draw, fill it, and copy it),
  19. > and I find out an information that blitter can do 320polygons/sec.
  20. > Of course, we must draw polygon to cleared single bitplane then
  21. > copy(or clear) to n depth planner bitplanes.
  22. > A question is that blitter can't draw more polygons?  Or simply
  23. > my program is slow?
  24.  
  25. The blitter is nowadays only good for doing chunky2planar 
  26. passes or something like that. Draw your polygons with
  27. the CPU to CHIP-ram directly, or use a chip-buffer
  28. that contains all planes in a single long, for example
  29. each long has eight pixels and four planes, or four
  30. pixels and eight planes. Then convert this to bitplanes
  31. with the blitter.
  32.  
  33. I assumed you wanted flat shaded polygons.. If you want
  34. texture mapping or other per-pixel processing, a chunky
  35. buffer in FAST-ram and optimal chunky2planar routine
  36. provides a really good speed..
  37.  
  38. --                               _
  39. a Stellar programmer          _ //
  40. "Amiga - back for the future" \X/
  41.