home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!templar!jbickers
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Chunky Pixel Mode for Low End Chip Set?
- Message-ID: <jbickers.0m50@templar.actrix.gen.nz>
- From: jbickers@templar.actrix.gen.nz (John Bickers)
- Date: 27 Dec 92 20:34:26 PST
- 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>
- Organization: TAP
- Lines: 35
-
- Quoted from <1992Dec27.011313.18163@mpifr-bonn.mpg.de> by mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst):
- > In <jbickers.0m3z@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
-
- > > convert to planar when you update your display, and if you're
- > > only using 8-bit data then chunky pixels also let you be more
- > > "interactive", where screen updates are fast enough that you can
- > > show the progress of your processing pixel by pixel.
-
- > The major point is that with any 'image processing' the time needed for
- > chunky->planar conversion is only a small fraction of the whole calculation
- > time. I also think that if you want to see pixel by pixel progress then
-
- This isn't always the case. For example, if you want to replace
- all the blue pixels with red pixels in order to free up a color
- slot, etc.
-
- > the overhead for calling the WritePixel routine is larger than for the
- > chunky->planar conversion. And if you want to recognize pixel by pixel
-
- Who said anything about calling WritePixel()? Though with chunky
- pixels WritePixel() should be faster, making use of such OS
- routines more acceptable, which is a plus for RTG.
-
- > changes then your program _must_ be so slow that the rendering speed
- > doesn't matter at all.
-
- I do not believe this is the case. BTW, some other examples of
- where chunky pixels can be quicker is flood fills, or CPU drawing
- like lines or curves, where the main element is the equivalent of
- a WritePixel().
-
- > Michael van Elst
- --
- *** John Bickers, TAP. jbickers@templar.actrix.gen.nz ***
- *** "Radioactivity - It's in the air, for you and me" - Kraftwerk ***
-