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

"finish" textures "colors" - ready made

Surface Design by "texture"


Basic rules for the using
of ready made colors, pigment and textures:

1) If declared as a "color ..." ----> use it in the "pigment{color...}" statement!
If a texture component i.e. "Scarlet" is defined as a "color{ ... }", we must invoke it also as a "color" in the "pigment"-statement:

texture{ pigment{color Scarlet}
         finish {ambient 0.1 diffuse 0.9 }
       } // end of texture 
If using Intel computers we should add here also "finish" like above, otherwise the color pattern may appear too dark!
2) If declared as a "pigment{ ... }" ---> use it in the "pigment{ ... }" statement!
If a texture component i.e. "Jade" is declared as a "pigment{ ... }", we must invoke it
also as a "pigment":
texture{ pigment{Jade}
         finish {ambient 0.15 diffuse 0.85 phong 1.0 }
       } // ------- end of texture
Here "phong 1.0" produces a highlight, which let appear specially rounded shapes like beeing polished!
3) If declared as a complete "texture{ ... }" ---> use it in the "texture{ .. }"-statement!
If a surface property like i.e. "Polished_Chrome" oder "Glass3" is declared with all components, we only have to write:
texture{ Glass3 } // ------- end of texture
Naturally we can add some additional properties to a complete texture like roghness ("normal") and quick rendering color ("quick_color") - but be carfully - use the correct syntax !!! - otherwise some unwanted effects will appear!
Sample:
   texture{ Glass3
            pigment{ quick_color Cyan}
            normal { ripples 0.5 scale 0.05 }
          }// ----end of texture
   interior{I_Glass} // this makes refraction activ!
//---------------------------------------------- 
Samples for the using of
a) ready-made texture

sphere {<0,0,0>,1
        texture{Polished_Chrome //       <-- ready-made texture
                pigment{quick_color White}
                normal {bumps 0.5 scale 0.05}
               }  // --- end of texture
       }  ;//-------------- end of sphere -------------------
b) ready-made pigment
sphere {<0,0,0>,1
        texture{pigment{Bright_Blue_Sky //<- ready-made pigment
                           quick_color Blue }
                   normal {bumps 0.5 scale 0.05}
                   finish  {ambient 0.1 diffuse 0.9}
                }// ------- end of texture
       }//------------------- end of sphere ------------------
c) ready-made color
sphere {<0,0,0>,1
        texture{ pigment{color White} //  <--- ready-made color
                 normal {bumps 0.5 scale 0.05}
                 finish {ambient 0.1 diffuse 0.9}
               }// ----end of texture
        }//--- end of sphere -------------------------------

"finish" textures "colors" - ready made

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