Beschreibungen und Beispiele zum Raytracer POV-Ray von Friedrich A. Lohmüller
Gestaltung von Oberflächen mit POV-Ray -
English English English
Italiano Italiano
Français français

Home
- POV-Ray Tutorial

  Oberflächengestaltung
  - Farben und Texturen
    Inhalt

    texture Syntax
    Vorgefertigtes
    Farben Do-it-Yourself
    Muster
    - patterns -Arten
    Reguläre Muster
    - checker, hexagon
      square, triangular
    - brick
    - object pattern (1)
    - object pattern (2)
    - object pattern (3)
    - tiling
    - pavement
    Streifenmuster
    - color_map{...}
    Patterns mit pigment
    - pigment_pattern (1)
    - pigment_pattern (2)
    - image_pattern
    Muster Listen
    - Reguläre Muster
    - Random Muster
    - Fractal Muster
   > Besondere Muster
    Warps
    - warp mapping
    uv_mapping
    Mapping
    Überlagerungen

    Eigene Texturen
 
                                           

Patterns für pigment und normal

Andere Pigment- und Normal-Muster

Name

Beispiel

function

#declare Function_1 = function{ pow(sin(y),2) }
pigment{ function{ Function_1 (x,5*y,z) }
         color_map { [0.0 color rgb <1,0.5,0>]
                     [1.0 color rgb <1,1,1>]
                   } // end of color_map
        } // end of pigment
#declare Function_1 = function{ pow(sin(y),2) }
pigment{ color rgb <1,1,1>}
normal { function{ Function_1 (x,4*y,z) }
         bump_size 1 scale 0.5
       } // end of normal

slope

pigment{ slope{ <0, 1,0> , -1.5, 0.35}
         //<direction>[, Lo_slope, Hi_slope ]
         color_map{[0.0 color rgb <0,1,0>]
                   [0.1 color rgb <1,0,0>]
                   [0.2 color rgb <1,1,0>]
                   [1.0 color rgb <1,1,1>]
                  }//end of color_map
        } // end of pigment
pigment{ slope{ <0,-1,0> , 0.0, 0.22}
         // <direction> [, Lo_slope, Hi_slope ]
    //altitude <Alt_Direction>, Lo_alt, Hi_alt
         color_map{[0.0 color rgb<0.2,0.7,0.2>]
                   [0.1 color rgb<0.5, 1, 0.5>]
                   [0.2 color rgb<  1, 1, 0>]
                   [1.0 color rgb<  1, 0, 0>]
                  }//end of color_map
        } // end of pigment


top

© Friedrich A. Lohmüller, 2006
http://www.f-lohmueller.de