User Tools

Site Tools


paag:attribute_cells

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

paag:attribute_cells [2019/04/07 10:56]
paag:attribute_cells [2019/04/07 10:56] (current)
Line 1: Line 1:
 +[{{ paag_attribute_cell.png|a) attribute cell (white)\\ b) palettes}}] **Attribute Cells** are evenly dimensioned subsections of an image which attach local constraints or properties to the pixels included in that section.
  
 +Historically,​ attribute cells exist due to memory limitations and specific memory layouts for different graphic chips.
 +
 +In this arbitrary invented example, the attribute cells are 4x8 pixels, the pixels are stretched horizontally and each pixel refers to exactly one of four indices.
 +
 +Furthermore,​ the properties for each attribute cell here are stored in four bits per cell which select one of four global palettes and there are two flip bits which specify whether the cell contents should be flipped across the vertical and/or the horizontal axis.
 +
 +further reading:
 +  * [[wp>​ZX_Spectrum_graphic_modes|ZX Spectrum graphic modes]]
 +  * [[http://​www.studiostyle.sk/​dmagic/​gallery/​gfxmodes.htm|C64 Graphic Modes on studiostyle.sk]]
paag/attribute_cells.txt ยท Last modified: 2019/04/07 10:56 (external edit)