6.1.1 Color List Patterns

These simplest patterns consist of a partitioning of space to which fixed selected colors are applied.

The first statement of this form is

   pigment { checker color C1 color C2 }
This will colorize the object by a chessboard pattern of squares in the alternating colors C1 and C2. In fact all patterns in Pov-Ray are 3-dimensional, so this pattern colorizes that part of the space which is occupied by the object by unit cubes with alternating colors.

A modification of this theme is:

  pigment { brick color C1 color C2 brick_size V mortar M }
which fills the space with bricks of dimension V in color C1 separated by gaps of dimension M in color C2. Each further higher layer of bricks is offset 1/2 in the $ X$-direction

Another one is

  pigment { hexagon color C1 color C2 color C3 }
which fills space by hexagonal infinite long upright columns of alternating colors.

Andreas Kriegl 2003-07-23