// Last edited on 2007-04-01 20:08:01 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_A = texture { pigment { color rgb < 0.50, 1.0, 1.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.2 } } #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.2 } } #declare tinta_Branca = texture { pigment { color rgb < 1.00, 1.00, 1.00 > } } #declare tinta_Preta = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.2 } } #declare i=0; #declare j=0; #while (j<40) #while (i<40) box { < i*5, 0, j*5>, < (i+1)*5, 1, (j+1)*5> texture { tinta_Branca } } #declare i=i+2; #end #declare i=0; #declare j=j+2; #end #declare i=1; #declare j=1; #while (j<40) #while (i<40) box { < i*5, 0, j*5>, < (i+1)*5, 1, (j+1)*5> texture { tinta_Branca } } #declare i=i+2; #end #declare i=1; #declare j=j+2; #end #declare i=1; #declare j=0; #while (j<40) #while (i<40) box { < i*5, 0, j*5>, < (i+1)*5, 1, (j+1)*5> texture { tinta_Preta } } #declare i=i+2; #end #declare i=1; #declare j=j+2; #end #declare i=0; #declare j=1; #while (j<40) #while (i<40) box { < i*5, 0, j*5>, < (i+1)*5, 1, (j+1)*5> texture { tinta_Preta } } #declare i=i+2; #end #declare i=0; #declare j=j+2; #end #declare roleta = seed(4615); #declare xx = 10*rand(roleta)+50; #declare peao_01 = sphere { < 2.50, 3.00, 2.50 >, 0.75 texture { tinta_A } } #declare peao_02 = cylinder { < 2.50, 1.00, 2.50 >, < 2.50, 3.00, 2.50 >, 0.50 texture { tinta_B } } #declare peao_03 = cylinder { < 2.50, 1.00, 2.50 >, < 2.50, 2.00, 2.50 >, 1.50 texture { tinta_A } } #declare peao_04 = cylinder { < 2.50, 1.00, 2.50 >, < 2.50, 1.50, 2.50 >, 2.00 texture { tinta_A } } union { object { peao_01 } object { peao_02 } object { peao_03 } object { peao_04 } } // Original camera parameters: // #local cam_ctr = <10,1.00,20> // #local cam_vec = (<-10.00,20.00,-15.00>-<10,1.00,20>) // #local cam_sky = y #include "camlight.inc" camlight(<10,4,20>,<-10,9,-15>,80.0,y,1.0)