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
 
                                           

"bump_map{ ... }" - imagini per normal di superfici


Esempio per "bump_map{...}":


Sample image_map 600x450

sphere{<0,0,0>, 1
  texture{
   pigment{ color rgb<0.7,0.65,0.5>  }
    normal {
     bump_map{
     // mapps an image on the xy plane
     // from <0,0,0> to <1,1,0>
     // (aspect ratio 1:1)
     image_map{ png "plasma3.png"
     // imagetype "file name" - path + .tga etc.
     // accepted types of images:
     // gif, tga, iff, ppm, pgm, png, jpeg, tiff, sys
     map_type 0 // 0=planar, 1=spherical, 2=cylindrical, 5=torus
     interpolate 2
     //  0=none, 1=linear, 2=bilinear, 4=normalized distance
   //once // optional
   //use_color //
     bump_size 10
     } // end of bump_map,
    translate<-0.5,-0.5,0>
    rotate<0,0,-80>
    scale 1.25
    }   // end of normal
   finish { diffuse 0.9 phong 1}// end of finish
   scale <1,1,1;  translate<0,0,0>
  } // end of texture
   translate<0.4,1,0>
} // end of sphere  ----------------------------------------

top

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