home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18135 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  3.2 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!bunker!nuconvex!starpt!doiron
  2. From: doiron@starpt.UUCP (Glenn Doiron)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Chunky Pixels vs. Bitplanes (was: Chunky Chip Set...)
  5. Message-ID: <doiron.0kq1@starpt.UUCP>
  6. Date: 4 Jan 93 23:03:17 GMT
  7. References: <Karsten_Weiss.0n2o@ibase.stgt.sub.org> <1hbngoINNglt@uwm.edu>               <1993Jan4.031543.18522@mpifr-bonn.mpg.de>
  8. Organization: 68K Software Development
  9. Lines: 60
  10. X-NewsSoftware: GRn 1.16f (10.17.92) by Mike Schwartz & Michael B. Smith
  11.  
  12. In article <1993Jan4.031543.18522@mpifr-bonn.mpg.de> mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) writes:
  13. > In <doiron.0kmz@starpt.UUCP> doiron@starpt.UUCP (Glenn Doiron) writes:
  14. > >This is a *general purpose* scaling algorithm.  It uses no predefined
  15. > >tables.
  16. > Correct. It also makes the effect of chunky vs. bitplane quite invisible.
  17. > It is however not the preferred method. If the rectangles in question
  18. > are large enough it is faster to precalculate the tables and use them.
  19. > >The rendering is a small fraction on the chunky system, however getpixel()
  20. > >and putpixel() on a planar system may even take *more* time than the
  21. > >multiplications due to the time needed to ([shift/mask/extract]x8) then
  22. > >([shift/mask/insert]x8) do those operations in planar.
  23. > Hardly. You forget the time needed to calculate pointers from x,y
  24. > coordinates.
  25. > >It's a general purpose algorithm that will scale/rotate bitmapped images.
  26. > >It suffers no limitations unlike your precalculated table.
  27. > And it is not used when performance is an issue.
  28. > >I can assure you that on a chunky display, that will be the case.  On a
  29. > >planar display, that is a different story entirely.
  30. > While it is different the overhead isn't that high.
  31. > >Notice how **NO** processors support parallel operations on several
  32. > >arbitrary bits at different memory locations.  Even if there were there
  33. > >would still be overhead due to the extra data accessed that wasn't even
  34. > >considered.
  35. > You don't need to do operations on several arbitrary bits at different
  36. > memory locations in parallel. And, for many things, you don't even
  37. > work on single bits because you do not handle a pixel at a time.
  38. > >Suppose you have a blit that takes 20ms on chunky and 30ms on planar
  39. > >(planar is accessing 1/3 more data than neccessary) on a 256 color display.
  40. > >Jump up the pixel depth to true-color (32-bit), and you're suddenly wasting
  41. > >4x as much time, since now it's taking 80ms on chunky and 120ms on planar.
  42. > >Still in a 2:3 ratio, but your time wasted has jumped from 10ms to 40ms.
  43. > Still don't see your point here.
  44. > Regards,
  45. > -- 
  46. > Michael van Elst
  47. > UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
  48. > Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
  49. >                                 "A potential Snark may lurk in every tree."
  50.  
  51. Since you have agreed to all the points I have made, I see no point in
  52. continuing this discussion.  Have a nice day!
  53.  
  54. Glenn Doiron
  55. --
  56. Amiga UUCP+
  57. Origin:  uunet.uu.net!starpt.UUCP!doiron (Organization:68K Software Development)
  58.          BIX: gdoiron
  59. ** Not enough memory to perform requested operation.  Add 4 megs and retry.
  60.