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
    Muster Listen
    Warps
    - warp mapping
    uv_mapping
    Mapping
    - Mapping-Methoden
    - color_map{...}
    - pigment_map{...}
   > texture_map{...}
    - normal_map{...}
    - average
    - material_map{...}
    - image_map{...}
    - image_map+gif 1
    - image_map+gif 2
    - image_map+gamma
    - bump_map{ ... }
    - transparency maps 1
    - transparency maps 2
    - transparency maps 3
    Überlagerungen

    Eigene Texturen
 
                                           

"texture_map" - Mustern aus Texturen.


Beispiel 1:  

Sample 1 texture_map 640x480

#declare Texture_W =
 texture{ pigment{ color White*0.9}
          normal { bumps 1 scale 0.025}
          finish { diffuse 0.9 specular 1}
        } // end of texture
#declare Texture_S =
 texture{ T_Stone10 scale 1
          normal { agate 0.5 scale 0.25}
          finish { diffuse 0.9 phong 1 }
        } // end of texture
//------------------------------------------------------
sphere { <0,0,0>, 1
         texture{ crackle  scale 1.5 turbulence 0.1
           texture_map {[0.00 Texture_W]
                        [0.05 Texture_W]
                        [0.05 Texture_S]
                        [1.00 Texture_S]
                       }// end of texture_map
                   scale 0.2
         } // end of texture ---------------------------
  scale<1,1,1>  rotate<0,0,0>  translate<0.40,1,0>
}  // end of sphere ------------------------------------

Beispiel 2:  

Sample 1 texture_map 640x480

texture{ gradient<0,1,0> scale 0.25 turbulence 0.725
         texture_map{
            [0.00 pigment{color Red}
                  finish {diffuse 0.9 phong 1}]
            [0.75 pigment{color Yellow}]
            [0.75 Polished_Chrome
                  normal{ ripples 0.5 scale 0.01} ]
            [1.00 Polished_Brass ] } // end of texture_map
   }// end of texture -------------------------------------


Noch ein Beispiel für "texture_map" :

Sample 2 texture_map 640x480

sphere{<0,0,0>,1 scale <1.2,1,1> translate<0,1.3,0>
     texture{gradient<1,1,0> turbulence 0.4
         texture_map{
            [0.00 Polished_Chrome]
            [0.40 Polished_Chrome
                  normal { bumps 0.75 scale 0.1}]
            [0.60 Polished_Chrome
                  pigment{color rgb<1,0.8,0>}
                  normal {ripples 0.75 turbulence 0.25}
                  finish {diffuse 0.9 phong 0.3}]
            [1.00 Polished_Chrome pigment{ color rgb<1,0.8,0>}
                  finish {diffuse 0.9 phong 0.3}]
                  } // end of texture_map
            } // end of texture
        }// Ende von sphere
top

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