Encyclopedia > Planar

  Article Content

Planar

Planar; something that is made up of flat planes, or pertaining to planes.

In the context of computer graphics, Planar is method of representing pixel information from several bitplanes[?]. Each individual bit in a bitplane is related to a single pixel on the screen.

Unlike Chunky, Highcolour or Truecolour[?] graphics, the data for an individual pixel isn't in one specific location in RAM, but spread across the bitplanes[?] that make up the display.

For example, on a Chunky display, each byte will represent one pixel. So, if colour zero is black, colour one is blue, and colour two is green, a byte of chunky pixel data would look like this:

00000000 = Black pixel
00000001 = Blue pixel
00000010 = Green pixel

Whereas planar data would look like this:

Plane 0, Byte 0: 00000000 = 8 black pixels
Plane 1, Byte 0: 00000000

Plane 0, Byte 0: 10000000 = 6 black pixels, one blue pixel, one green pixel
Plane 1, Byte 0: 00010000

Planar graphics were used a lot in the 80s and early 90s because displays tended to only be able to show less than 256 colours. For chunky displays, there is always 1 byte per pixel regardless of the colour depth of the display. This uses a lot of precious RAM. If you only need to display 8 colours, you can use 3 bitplanes, and each pixel only has 3 bits assigned to it instead of 8.

Planar graphics are also easier to scroll than chunky graphics in hardware, which is why systems like the Commodore Amiga were able to move large playfields around with little effort.

Note: Perhaps some drawn images would better show how planar graphics are stored in ram



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Bullying

... basis of authority. The first to have the title of "Tyrant" was Pisistratus in 560 BC. In modern times Tyrant has come to mean a dictator who rules with ...

 
 
 
This page was created in 41.7 ms