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
    - Motivi regolari
    - Motivi per caso
    - Motivi Frattali
    - Altri motivi
    Warps
   > warp mapping
    uv_mapping
    Mapping
    Sovrapposizioni

    Vostre testure
 
                                           
Mapping con warps
risoluzione più alta
  Mapping con warps
  Adattare motivi ai superfici

Il modificatore di motivi "warp" avvolga motivi come "checker", "brick" et altri attorno di cilindri, sfere, tore e altri oggetti.
Tipi di mapping warps: cylindrical, spherical, toroidal e planar.


top

  Cylindrical Warp
Sample no Cylindrical Warp
brick senza warp
Sample Cylindrical Warp
brick lateral warp
Esempio:
pigment { //lateral warp
  brick color rgb<1,1,1>        // mortar
        color rgb<0.8,0.25,0.1> // brick
  brick_size <0.085, 0.0625, 1>
  mortar 0.01
  warp{ cylindrical
        orientation <0,0,1>
        dist_exp 0
      } // end of warp
  } // end of pigment --------------------

Sample Cylindrical Warp
brick top warp
Esempio:
pigment { // top warp
  brick color rgb<1,1,1>
        color rgb<0.8,0.25,0.1>
  brick_size <0.077, 0.0885, 0.18>
  mortar 0.01
  warp{ cylindrical
        orientation <0,1,0>
        dist_exp 0
      } // end of warp
  } // end of pigment -----------------


top
Spherical Warp
Sample no spherical warp
brick senza warp
Sample spherical warp
brick con warp
Click for a
higher resolution.

Esempio:
pigment {
  brick color rgb<1,1,1>        // mortar
        color rgb<0.8,0.25,0.1> // brick
  brick_size <0.2484, 0.0507, 0.125>
  mortar 0.008
  scale <0.4,1.3,1.1>
  warp{ spherical
        orientation <0,0,1>
        dist_exp 0
      } // end of warp
  } // end of pigment --------------------


top
Toroidal Warp
1) Major Radius Warp
Sample Toroidal Warp
Toroidal Warp
major radius warp
 

Sample Toroidal Warp
A look inside
Click on the images for a higher resolution.
Esempio:
torus { 1, 0.5
 texture{
  pigment {
  brick color rgb<1,1,1>
        color rgb<0.8,0.25,0.1>
  brick_size <0.058,0.0525,0.8>
  mortar 0.0055
  warp { toroidal
         orientation <0,0,1>
         dist_exp 0
         major_radius 0.5
       } // end of warp
  } // end of pigment
  normal {wrinkles 0.75 scale .01}
  }}// end of texture and torus -------

1) Minor Radius Warp
Sample Toroidal Warp
Toroidal Warp
minor radius warp
Click on the image for a higher resolution.
 

Sample Toroidal Warp
A look inside
Esempio:
torus { 1, 0.5
 texture{
  pigment {
  brick color rgb<1,1,1>
        color rgb<0.8,0.25,0.1>
  brick_size <1.0,0.0305,0.1>
  mortar 0.006
  rotate <90,0,0>
  warp { toroidal
         orientation <1,0,0>
         dist_exp 0
         major_radius 0.5
       } // end of warp
  } // end of pigment
  normal {wrinkles 0.75 scale .01}
  }}// end of texture and torus -------


top
Planar Warp
Sample no Planar Warp
crackle senza warp
Sample Planar Warp
crackle con warp
Click on the images for a higher resolution.
Questo tipo di warp prende un'immagine piane di una testura 3d (del'piano definito con il vettore plane normal in una distanza distance lungo il vettore normale e estrude quest'immagine lungo l'asse z come un image_map.
 
Esempio:
pigment{
   crackle scale 0.45
   color_map{
     [0.0 color rgbf <1,1,1,0.8>]
     [0.2 color rgbf <1,1,1,0.5>]
     [0.3 color rgb <0.25,0,0>]
     [0.7 color rgb <1,0,0>]
     [1.0 color rgb <1,0,0>]
    }//end of color_map
  scale 0.3 translate<0,0,-1>
  warp { planar <0,0,-1>, -1 
     // plane normal,
     // distance along the normal
       // end of warp
  } // end of pigment ------------

top

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