Patterns für pigment und normal
|
Andere Pigment- und Normal-Muster
|
|
Name
|
Beispiel
|
function |
 |
#declare Function_1 = function{ pow(sin(y),2) }
pigment{ function{ Function_1 (x,5*y,z) }
color_map { [0.0 color rgb <1,0.5,0>]
[1.0 color rgb <1,1,1>]
} // end of color_map
} // end of pigment |
 |
#declare Function_1 = function{ pow(sin(y),2) }
pigment{ color rgb <1,1,1>}
normal { function{ Function_1 (x,4*y,z) }
bump_size 1 scale 0.5
} // end of normal |
slope |
 |
pigment{ slope{ <0, 1,0> , -1.5, 0.35}
//<direction>[, Lo_slope, Hi_slope ]
color_map{[0.0 color rgb <0,1,0>]
[0.1 color rgb <1,0,0>]
[0.2 color rgb <1,1,0>]
[1.0 color rgb <1,1,1>]
}//end of color_map
} // end of pigment |
 |
pigment{ slope{ <0,-1,0> , 0.0, 0.22}
// <direction> [, Lo_slope, Hi_slope ]
//altitude <Alt_Direction>, Lo_alt, Hi_alt
color_map{[0.0 color rgb<0.2,0.7,0.2>]
[0.1 color rgb<0.5, 1, 0.5>]
[0.2 color rgb< 1, 1, 0>]
[1.0 color rgb< 1, 0, 0>]
}//end of color_map
} // end of pigment |
|