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 Pixels vs. Bitplanes (was: Chunky Chip Set...)
- Message-ID: <jbickers.0med@templar.actrix.gen.nz>
- From: jbickers@templar.actrix.gen.nz (John Bickers)
- Date: 2 Jan 93 10:46:11 PST
- References: <Karsten_Weiss.0n2o@ibase.stgt.sub.org> <1hbngoINNglt@uwm.edu>
- <1992Dec31.011428.2926@mpifr-bonn.mpg.de> <doiron.0kd5@starpt.UUCP> <1993Jan1.141207.20262@mpifr-bonn.mpg.de>
- Organization: TAP
- Lines: 39
-
- Quoted from <1993Jan1.141207.20262@mpifr-bonn.mpg.de> by mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst):
-
- > And as I also pointed out, bitmap scaling (that's what you thought of)
- > is about same speed for chunky and bitplanes.
-
- You seem to have some magnificent algorithms up your sleeve.
- Perhaps we could get this thread onto more .programmer things if
- you outlined some of these algorithms?
-
- > YOU may do it that way. I simply use a table that maps several pixels
- > to their scaled counterparts.
-
- So to expand 4x, you have a 256x4 table mapping source bytes onto
- destination longs? Makes sense!
-
- > Most time consuming graphics operations consist of modifying larger areas,
- > drawing diagonal lines or lots of number crunching to generate an image.
-
- ...
-
- > In the second case you have a major advantage for chunky pixels. But
- > the fact that lines cover less memory than filled areas and some
- > optimizations possible with non-vertical lines make this advantage less
- > important.
-
- It is not less important. You have to do the drawing portion of
- the line 8 times, which taxes ones ability to hold all the
- required values in registers.
-
- > In the third case the rendering speed isn't important as the calculations
- > outweigh any efficiency differences.
-
- FractInt would be easier to port and run faster if it was using
- chunky pixels.
-
- > Michael van Elst
- --
- *** John Bickers, TAP. jbickers@templar.actrix.gen.nz ***
- *** "Radioactivity - It's in the air, for you and me" - Kraftwerk ***
-