Difference between revisions of "Reference:Brick Pattern"
Jholsenback (talk | contribs) m (1 revision: Reference Migration Initial Load) |
Le Forgeron (talk | contribs) |
||
Line 56: | Line 56: | ||
<p>The <code>brick</code> pattern has a default color_map built in that | <p>The <code>brick</code> pattern has a default color_map built in that | ||
results in red bricks and grey mortar.</p> | results in red bricks and grey mortar.</p> | ||
+ | |||
+ | |||
+ | <table class="centered" width="420px" cellpadding="0" cellspacing="10"> | ||
+ | <tr> | ||
+ | <td>[[Image:RefImgBrickPigment.png|center|200px<!--centered--->]]</td> | ||
+ | <td>[[Image:RefImgBrickNormal.png|center|200px<!--centered--->]]</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2"><p class="caption">brick pattern used as pigment and normal respectively</p></td> | ||
+ | </tr> | ||
+ | </table> |
Latest revision as of 08:27, 1 March 2014
The brick
pattern generates a pattern of bricks. The bricks
are offset by half a brick length on every other row in the x- and
z-directions. A layer of mortar surrounds each brick. The syntax is given
by
pigment { brick COLOR_1, COLOR_2 [brick_size <Size>] [mortar Size] }
where COLOR_1 is the color of the mortar and COLOR_2 is
the color of the brick itself. If no colors are specified a default deep red
and dark gray are used. The default size of the brick and mortar together is
<8, 3, 4.5> units. The default thickness of the mortar is 0.5 units.
These values may be changed using the optional brick_size
and
mortar
pattern modifiers. You may also use pigment statements in
place of the colors. For example:
pigment { brick pigment{Jade}, pigment{Black_Marble} }
This example uses normals:
normal { brick 0.5 }
The float value is an optional bump size. You may also use full normal statements. For example:
normal { brick normal{bumps 0.2}, normal{granite 0.3} }
When used with textures, the syntax is
texture { brick texture{T_Gold_1A}, texture{Stone12} }
This is a block pattern which cannot use wave types,
color_map
, or slope_map
modifiers.
The brick
pattern has a default color_map built in that
results in red bricks and grey mortar.