Qui c'é un piccolo trucco come si può creare
colori distinguibile nel ombre
("shadow differenciated colors")
che sembrarano uguali nel luce f del sole:
//---------------------- textures
#declare Stex1 =
texture{ pigment{color White}
finish {diffuse 0.85}}
#declare Stex2 =
texture{ pigment{color White}
finish {diffuse 0.90}}
#declare Step = //-------------
intersection{
box {<0,0,-StT>,< StB,StH,StT>
translate<StI,0,0>
texture{Stex1}}
plane{<0,0, 1>,0 rotate<0,-W/2,0>
translate<0,0,0.01>
texture{Stex2}}
plane{<0,0,-1>,0 rotate<0, W/2,0>
translate<0,0,0.0 >
texture{Stex2}}
bounded_by{
box{<0,0,-StT>,<StB,StH,StT>
translate<StI,0,0>}}
}//-------------- end of Step |
|