home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!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.0m6w@templar.actrix.gen.nz>
- From: jbickers@templar.actrix.gen.nz (John Bickers)
- Date: 28 Dec 92 10:50:02 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
- > <jbickers.0m50@templar.actrix.gen.nz><1992Dec27.155756.23491@mpifr-bonn.mpg.de>
- Organization: TAP
- Lines: 53
-
- Quoted from <1992Dec27.155756.23491@mpifr-bonn.mpg.de> by mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst):
- > In <jbickers.0m50@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
-
- > > 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
-
- > Then you don't do this directly in display memory. Or use some blitter
- > function to generate a mask and then change the pixels through the mask.
-
- You're kidding, right? Sure it's _possible_ to do it with planes,
- but don't you think it is easier (and it is definitely faster) to
- do it with chunky pixels?
-
- > > 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.
- >
- > WritePixel wouldn't be much faster with chunky pixels. The large overhead
- > comes from clipping and calculating bitplane/bitmap addresses.
-
- Well, it should be. Bypassing WritePixel() with chunky pixels will
- be quicker than bypassing WritePixel() with planes. There is only
- one address calculation, and only one write to memory.
-
- > Yep, drawing thin lines is a plus on chunky pixel architectures. Floodfills
-
- Any kind of lines.
-
- > on the other hand can be faster with bitplanes. Not sure about curve drawing
-
- I don't see how flood filling can be faster with planes. The
- classic method is mostly ReadPixel() and WritePixel() operations,
- which chunky pixels excel at.
-
- > but most curve drawing routines I know need several multiplications per point.
-
- So? There are incremental algorithms for drawing some sorts of
- curves (like circles), and having chunky pixels isn't going to
- make the calculation of the curve faster, but it WILL speed up the
- WritePixel() part of the routine significantly.
-
- Anyway, I'm all for a chunky pixel chipset. Even better if it can
- be mixed with other modes on-screen. Not being a hardware person,
- it's easy for me to think that the best way to handle graphics
- boards (with RTG) would have been to have the Copper be able to
- switch to an external graphics source, so external boards could be
- "screens" in the system, scrollable and all. Being able to do this
- without an external graphics board at all would be great.
-
- > Michael van Elst
- --
- *** John Bickers, TAP. jbickers@templar.actrix.gen.nz ***
- *** "Radioactivity - It's in the air, for you and me" - Kraftwerk ***
-