// Last edited on 2005-01-11 13:09:07 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0.50, 0.60, 0.30 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare tinta_D = texture { pigment { color rgb < 0.70, 0.40, 0.10 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare bola = sphere { < 0.00, 0.00, 0.00 >, 1.00 texture { tinta_B } } #declare bola2 = sphere { < 1.00, 3.00, 2.00 >, 1.50 texture { tinta_D } } # declare my_cone = cone{ < 0.00, 0.00 , 0.00 >, 0.00 < 2.00, 1.00 , 3.00 >, 2.00 texture { tinta_C} } #declare furo = cylinder { < -1.00, -2.00, -2.00 >, < +1.00, +2.00, +2.00 >, 1.50 texture { tinta_B } } #declare predioI = box { <0, 0, 0>, < 2, 5, 3> texture { tinta_A scale 4 } } #declare predioC1 = box { <2.5, 0, 0>, < 4.5, 5, 3> texture { tinta_A scale 4 } } #declare predioC2 = box { <4.5, 4, 0>, < 7.5, 5, 3> texture { tinta_A scale 4 } } #declare predioC3 = box { <4.5, 0, 0>, < 7.5, 1, 3> texture { tinta_A scale 4 } } #declare porta1 = box { <0.5, 0, 0.0>, < 1.5, 0.5, 3.05> texture { tinta_B scale 4 } } #declare porta2 = box { <3, 0, 0.0>, < 4, 0.5, 3.05> texture { tinta_B scale 4 } } #declare pino = cylinder { < -2.00, +2.00, -1.00 >, < +2.00, -2.00, +1.00 >, 0.75 texture { tinta_B } } union { object { predioI } object { predioC1 } object { predioC2 } object { predioC3 } object { porta1 } object { porta2 } #declare i =0.7; # declare j = 0.3; #while (j<=4.2) #while (i<4.7) #if(j<2) #declare janelaI = box { , texture { tinta_B scale 4 } } object {janelaI} #else #if(j>2.5) #if(j<4) #declare janelaI = box { , texture { tinta_B scale 4 } } object {janelaI} #else #if(i<1) #declare janelaI = box { , texture { tinta_B scale 4 } } object {janelaI} #else #if(i>=4) #declare janelaI = box { , texture { tinta_B scale 4 } } object {janelaI} #end #end #end #end #end #declare i = i + 0.3; #end #declare i = 0.7; #declare j = j + 0.6; #end } #include "camlight.inc" camlight(<3.20,0.50,0>,<10,10,15>,0.80,y,1.0)