Descrizioni ed esempi per POV-Ray di Friedrich A. Lohmüller
Design di Superfici con "texture" in POV-Ray -
English English English
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial

  Design di Superfici
  - Colori e Texture
    Index

    Sintassi di texture
    Testure pronto per l'uso
    Colori Do-it-yourself
    Motivi - patterns
    Liste di motivi
    Warps
    uv_mapping
    Mapping
    - metodi di mapping
    - 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
    Sovrapposizioni

    Vostre testure
 
                                           

"texture_map{...}" - testura con un motivo di testure.
Esempio 1 per "texture_map{...}" :

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 ------------------------------------

Esempio 2 per "texture_map{...}" :

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 -------------------------------


Un altro esempio di "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
        }// end of sphere

top

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