Conception de Surface en »texture«
» layered textures « = la superposition de textures.
Strates de modèles partiellement transparent
On peut faire un masque sur une texture basique,
un autre et voir plus, en texture transparente partielle !
La dernière texture définie est vue en haut de la surface et
ou la texture est transparente on peut voir les masques de texture inférieures.
// Exemple1: » layered textures « :
sphere{<0,0,0>,1 scale <1.2,1,1> translate<0,1.3,0>
texture{ Polished_Chrome
} // end of texture #1
texture{ Peel scale 0.5 translate<2,0,0>
normal { wrinkles 0.75 scale 0.1}
finish {ambient 0.1 diffuse 0.9 phong 0.3}
} // end of texture #2 obendrauf
} // end of sphere |
// Exemple2: » layered textures « :
#declare Textur1 = //------------------------------
texture{
pigment{ ripples scale 0.5 turbulence 0.75
color_map { [0.0 color Green]
[0.4 color Yellow]
[0.4 color White]
[1.0 color YellowGreen]
} // end of color_map
} // end of pigment
normal { wrinkles 0.75 scale 0.1}
finish {ambient 0.1 diffuse 0.65
reflection 0.25 phong 1}
} //-------------------- end of texture 1 ---------
#declare Textur2 =
texture{
pigment{gradient<0,1,0> scale 0.5 turbulence 1.25
color_map { [0.0 color Clear]
[0.7 color Clear]
[0.7 color rgb<1,0.75,0> ]
[1.0 color Gray50 ]
} // end of color_map
} // end of pigment
normal {ripples 0.8 scale 0.02 turbulence 0.5 }
finish {ambient 0.1 diffuse 0.9 phong 1}
} //-------------------- end of texture 2 ---------
sphere{<0,0,0>,1 scale <1.2,1,1>
texture{Textur1}
texture{Textur2}
translate<0,1,0>
} // end of sphere -------------------------- |
|