// Last edited on 2005-01-05 18:52:04 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare g = seed (824617); #declare ale = rand(g); #while (ale < 0.8) #declare ale = rand(g); #end #declare predio= union{ #declare i=0; #while(i<4) #declare andar = box { <0.0 , 0.0 , 10*i>, <50.0, 50.0, 10*(i+1)*ale> }; #declare ap = mod(i,2); #if (ap=0) object {andar pigment{color rgb <0.7, 0.8, 0.7>} } #else object {andar pigment{color rgb <0.8, 0.7, 0.7>} } #end #declare j=0; #while (j<5) object { polygon { 4, <3.0+(j*10), -0.01, 2.0+(i*10)>, <3.0+(j*10), -0.01, 5.0+(i*10)>, <6.0+(j*10), -0.01, 5.0+(i*10)>, <6.0+(j*10), -0.01, 2.0+(i*10)> pigment {color rgb <0.9, 0.9, 0.9>} } } #declare j = j+1; #end #declare i = i+1; #while (ale < 0.7) #declare ale = rand(g); #end #end } #declare suporte= cylinder{ <25.0, 25.0, 0.0>, <25.0, 25.0, 45.0>, 10 pigment {color rgb <1.0, 0.0, 0.0>} } #declare portal= polygon { 4, <20.0, -0.1, 0.0>, <20.0, -0.1, 7.0>, <30.0, -0.1, 7.0>, <30.0, -0.1, 0.0> texture{ pigment {color rgb <0.2, 0.2, 0.5>} finish{ ambient 0.05 diffuse 0.05 reflection color rgb <0.2, 0.2, 0.5> specular 0.20 roughness 0.05 } } } union{ object {suporte} object {predio} object {portal} } #include "camlight.inc" camlight(<30.00,10.00,20.00>,<40.00,-90.00,10.00>,1.00,z,1.0)