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