|
![](/i/fill.gif) |
tonight I'll make the scene more "visible", add "rust" on the fence and
some structures as I said...
here is the code for the fence (very simple in fact)
#declare Leng = 0.75;
#declare Grille00 =
union {
cylinder {<0.0, 0.0, -0.01>, <0.0, -Leng, 0.01>, 0.01}
blob {
threshold 0.6
#local ii = -1;
#while (ii < 81)
sphere {<0.03, 0.0, -0.01>, 0.013, 1.0 rotate (ii*360.0/80.0)*z
translate (ii*0.02/80.0)*z translate -0.03*x}
#local ii = ii + 1;
#end
}
}
union {
#local ii = 0;
#while (ii < 20)
#local jj = 0;
#while (jj < 20)
object {Grille00 translate <0.0, -5 + (jj * Leng), -5 + (ii * Leng)>}
cylinder {<-0.03, -5.0 + (jj * Leng), -5.0>, <-0.03, -5.0 + (jj *
Leng), 5.0>, 0.015}
#local jj = jj + 1;
#end
#local ii = ii + 1;
#end
pigment {color rgb 0.1*<0.5, 0.45, 0.4>}
finish {ambient 0.0}
}
David
Post a reply to this message
|
![](/i/fill.gif) |