Planar (computer Graphics) Article Index for
Planar
Website Links For
Planar
 

Information About

Planar (computer Graphics)




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 (assuming the use of 2 bitplanes, providing for a 4 colour display):

Plane 0, Byte 0: 00000000 = 8 black pixels

Plane 1, Byte 0: 00000000


Plane 0, Byte 0: 10000000 = 1 blue pixel, 2 black pixels, 1 green pixel, 4 black pixels

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 fewer than 256 colours. Chunky displays always represent one pixel within a contiguous grouping of bits. And usually have 1 byte or more per pixel, even with a colour depth not a multiple 8 bits (sometimes going as far as storing a 24 bit image in 32 bit chunks). This wastes RAM in cases where fewer bits are needed than are provided. 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 (reducing memory and bandwidth requirements by 62.5%).