请输入您要查询的百科知识:

 

词条 Planar (computer graphics)
释义

  1. See also

  2. References

{{Refimprove|date=February 2015}}

In computer graphics, planar is the method of representing pixel colors with several bitplanes of RAM. Each bit in a bitplane is related to one pixel on the screen. Unlike chunky, high color, or true color graphics, the whole dataset for an individual pixel isn't in one specific location in RAM, but spread across the bitplanes that make up the display.

This scheme originated in the early days of computer graphics. The memory chips of this era can not supply data fast enough on their own to generate a picture on a TV screen or monitor from a large framebuffer.[1] By splitting the data up into multiple planes, each plane can be stored on a separate memory chip. These chips can then be read in parallel at a slower rate, allowing graphical display on modest hardware. The EGA video adapter on early IBM PC computers uses planar arrangement in color graphical modes for this reason. The later VGA includes one non-planar mode which sacrifices memory efficiency for more convenient access.[2]

For example, on a chunky display, each byte represents one pixel. Three pixels in a row are stored as follows, where up to 256 different colors are available:

Byte index 0 1 2
Value (binary) 00000000 00000001 00000010
Value (decimal) 0 1 2
Resulting pixelBlackBlueGreen

Whereas a planar data store could use 2 bitplanes, providing for a 4 color display:

Byte index 0
Bit index 0 1 2 3 4 5 6 7
Plane 0 1 0 0 0 0 0 1 0
Plane 1 0 0 0 1 0 0 1 0
Resulting pixel10020030
Byte value 146

Adding a third plane makes 23=8 colors available. Where fewer than 256 colors are needed, planar graphics are more economical in RAM compared with 8-bit chunky graphics, as there are no unused bits in a given byte.

A disadvantage of planar graphics is that more RAM address cycles are needed for scrolling and animations, although these operations can be made faster by dedicated hardware such as the blitter chips used in Amiga and some later Atari ST computers.{{Citation needed|date=June 2014}}

See also

  • Packed pixel

References

1. ^{{cite book | first = David F. | last = Rogers | title = Procedural Elements for Computer Graphics | publisher = McGraw-Hill | year = 1985 | page = 13 | isbn = 0-07-053534-5 }}
2. ^{{cite web|url=http://wiki.osdev.org/VGA_Hardware|title=VGA Hardware - OSDev Wiki|website=wiki.osdev.org|accessdate=September 4, 2017}}
{{DEFAULTSORT:Planar (Computer Graphics)}}

2 : Computer graphics|Amiga

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 4:43:09