Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
Design of Surfaces by "texture" with POV-Ray -
Deutsch Deutsch
Italiano Italiano
Français français

Home
- POV-Ray Tutorial

  Design of Surfaces
  - Colors and Textures
    Index

    texture Syntax
    Ready-made Textures
    Do-it-yourself Colors
    Patterns
    - pattern types
      Regular patterns
    - checker, hexagon
      square, triangular
   > brick
    - object pattern (1)
    - object pattern (2)
    - object pattern (3)
    - tiling
    - pavement
      Stripe Patterns
    - color_map{...}
      Patterns by pigments
    - pigment_pattern (1)
    - pigment_pattern (2)
    Patterns Lists
    - Regular Patterns
    - Random Patterns
    - Fractal Patterns
    - Other Patterns
    Warps
    - warp mapping
    uv_mapping
    Mapping
    Superpositions

    Your own Textures
 
                                           
color rgb
  Regular Patterns:
  "brick"


A very useful kind of texture for brick in a "Central European Standard Format"
(Scale: 1 unit = 1m) is i.e. the following:


Sample brick 640x480

texture{
     pigment{ brick
              color White
              color rgb<0.8,0.25,0.1>
              // color mortar, color brick
              brick_size <0.25, 0.0525, 0.125 >
              // format in x-,y-,z- direction
              mortar 0.01 // size of the mortar
            }
     normal { wrinkles 0.75 scale 0.01}
     finish { diffuse 0.9 phong 0.2}
     } // end of texture

All these patterns can be used instead of "color" also with "pigment" like Jade, White_Marble and also with textures like Polished_Chrome etc. :
Sample:


texture{ pigment { brick
                   pigment{Jade},
                   pigment{White_Marble}
                 }// end of pigment
         finish  { diffuse 0.9 }
        }// end of texture -------------------
See also 'Warp Mapping'.
top

© Friedrich A. Lohmüller, 2012
www.f-lohmueller.de