// Last edited on 2009-07-22 14:44:06 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_A = texture { pigment { color rgb < 0.20, 1.00, 0.20 > } finish { diffuse 0.8 specular 0.1 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.1 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 1.00, 0.20, 0.20 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare tinta_D = texture { pigment { color rgb < 0.20, 0.20, 0.20 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare tinta_E = texture { pigment { color rgb < 0.20, 0.20, 1.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare lado1 = box { <3,0,0>, <3.1,1,2.5> texture {tinta_C} } #declare base1 = box { <3,1,0.01>, <0,0,0> texture {tinta_C} } #declare meio1 = box { <3,1,2.5>, <0,0,2.51> texture {tinta_C} } #declare teto1 = box { <3,1,1>, <0,0,1.51> texture {tinta_C} } #declare fundo1 = box { <3,0,0>, <0,0.1,2.5> texture {tinta_C} } #declare lado12 = box { <0.1,1,2.5>, <0,0,0> texture {tinta_C} } #declare bola1 = sphere { <0.25,0.25,0.25>, 0.25 texture {tinta_A} } #declare quad1 = box { <0,0,0>, <0.5,0.5,0.5> texture {tinta_B} } #declare quad12 = box { <0,0,0>, <0.2,0.7,0.5> texture {tinta_B} } #declare cilin1 = cylinder { <0.2,0.2,0.2>, <0.4,0.4,1> , 0.05 texture {tinta_E} } #declare roleta = seed (932); #declare n = 0; #while (n < 3) union { #declare i = int (rand (roleta) * 3); #if (i < 1) object {quad1 translate< n, 0 , 0 >} #else #if (i < 2) object {cilin1 translate< n+0.3, 0.5, 0>} #else object {bola1 translate} #end #end } #declare n = n + 1; #end union { object {base1} object {meio1} object {teto1} object {lado1} object {lado12} object {fundo1} } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <10.00,5.00,3.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,5>,10.0,z,1.0)