home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!blackbelt
- From: blackbelt@cup.portal.com (Ben - Williams)
- Newsgroups: comp.sys.amiga.graphics
- Subject: Re: TGA compressed?
- Message-ID: <73235@cup.portal.com>
- Date: Fri, 8 Jan 93 22:38:27 PST
- Organization: The Portal System (TM)
- Distribution: world
- References: <C0F3no.BBH@ccu.umanitoba.ca>
- Lines: 35
-
- Ben Fulton,
-
- Chunky pixels in the case of 8-bits are those pixels where the 8-bits for
- the pixel fit into one byte in one memory location. The advantage of this
- is that to draw a pixel, the processor has only one memory access, ditto
- to read a pixel. Sounds great, and in the case of 8bit gfx, it IS great.
-
- Planar gfx turn that same byte "on its side" and make the processor move
- 8 bytes, each of which contain one bit of the pixel you want. Then, you
- further have to extract (or insert) the bit you need, 8 time, from the 8
- bytes. Then you have read (or written) your pixel. For the case of bytewise
- er, bytewide image data, this is clearly much, much slower.
-
- The advantages of planar data begin to be obvious when you see that if you
- have less than 8 bits per pixel (lets say 1 bit because that's the best case)
- the processor can move 8 pixels in one byte - and in the case where you're
- moving a lot of pixels at one time, you save time. With 4 bitplanes, you
- get 8 complete pixels for each four bytes you move - 2x faster even than
- a chunk architecture can go.
-
- The unfortunate thing is that low-planar architectures aren't very popular
- anymore, for the obvious reason that they are low on colors in comparison.
- And planr architectures, like the Amiga's don't upgrade well to bigger
- numbers of pixels when all other things stay the same (like bus speed).
-
- As Chris Green sort of mentioned, sorta, if the Amiga could handle pixels
- in a chunky manner, it would be wonderful. It is entirely possible to create
- a device known to engineers and similar fauna as a "corner-turner". This is
- a device that does the turning on the side operation for the processor,
- which can bring it nearly up to the speed that a pure chunky architecture
- would have. I hope to see one of those in a new Amiga someday - we've got
- a prototype here on the shelf, in fact - works great, only one of it's kind
- for the Amiga, though...
-
- Ben
-