Descriptions and Samples for the POV-Ray Raytracer by Friedrich A. Lohmüller
Français français
Deutsch Deutsch

mapping textures "normal_map" - sample

Surface Design by "texture"

mapping - textures by patterns.


A sample of "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 {ambient 0.15 diffuse 0.85 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 ------------------------------------------


Another sample of "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 {ambient 0.15 diffuse 0.85 phong 0.3}]
            [1.00 Polished_Chrome pigment{ color rgb<1,0.8,0>}
                  finish {ambient 0.15 diffuse 0.85 phong 0.3}]
                  } // end of texture_map
            } // end of texture
        }// end of sphere

mapping textures "normal_map" - sample

© Friedrich A. Lohmüller, 2004
email email: (legacy email redacted)
homepage:www.f-lohmueller.de