// Last edited on 2007-04-01 20:34:12 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.50, 0.50, 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_C = texture { pigment { color rgb < 0.10, 0.50, 0.10 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.2 } } #declare tinta_BR = texture { pigment { color rgb < 2.00, 2.00, 2.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.2 } } #declare tinta_P = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.2 } } #declare peao = cone { < 0.50, 0.50, -0.50 >, 0.00 < 0.50, 0.50, -1.50 >, 0.20 texture { tinta_B } } #declare torre = cylinder { <1.50, 1.50, -1.50 >, <1.50, 1.50, -0.50 >, 0.20 texture {tinta_C} } #declare rei = union { cylinder { <-0.50, -1.50, -1.50 >, <-0.50, -1.50, -0.50 >, 0.20 texture {tinta_A} } cone { < -0.50, -1.65, -0.50 >, 0.10 < -0.50, -1.65, -0.25 >, 0.00 texture { tinta_A } } cone { < -0.50, -1.45, -0.50 >, 0.10 < -0.50, -1.45, -0.25 >, 0.00 texture { tinta_A } } } #declare eixo_x = cylinder { < 0.00, 0.00, 0.00 >, <10.0, 0.00, 0.00 >, 0.05 texture {tinta_A} } #declare eixo_y = cylinder { < 0.00, 0.00, 0.00 >, <0.0, 10.00, 0.00 >, 0.05 texture {tinta_B} } #declare eixo_z = cylinder { < 0.00, 0.00, 0.00 >, <0.0, 0.00, 10.00 >, 0.05 texture {tinta_C} } #declare caixa = box { < 2.00, 0.50, 2.50 >, < 4.00, 2.00, -2.00 > texture {tinta_B} } #declare baseBranca = box { <-2.00, -2.00, -2.00 >, <2.00, 2.00, -2.05 > texture {tinta_BR} } #declare basePreta = box { <-2.00, -2.00, -2.00 >, <2.00, 2.00, -2.05 > texture {tinta_P} } #declare i=-2; #declare altura=-1.50; #while( i < 1 ) box { <1.00+i, 1.00+i, altura >, <2.00+i, 2.00+i, altura+0.05 > texture {tinta_BR} } box { <2.00+i, 0.00+i, altura >, <3.00+i, 1.00+i, altura+0.05 > texture {tinta_BR} } #declare i=i+1; #end #declare j=-2; box { <1.00+j, 3.00+j, altura >, <2.00+j, 4.00+j, altura+0.05 > texture {tinta_BR} } box { <4.00+j, 0.00+j, altura >, <5.00+j, 1.00+j, altura+0.05 > texture {tinta_BR} } #declare i=-2; #while( i < 2 ) box { <1.00+i, 0.00+i, altura >, <2.00+i, 1.00+i, altura+0.05 > texture {tinta_P} } #declare i=i+1; #end #declare i=-2; #while ( i<0 ) box { <3.00+i, 0.00+i, altura >, <4.00+i, 1.00+i, altura+0.05 > texture {tinta_P} } box { <1.00+i, 2.00+i, altura >, <2.00+i, 3.00+i, altura+0.05 > texture {tinta_P} } #declare i=i+1; #end #declare i=0; #declare j=0; #while (i<4) object{ torre translate<-2+i,j,0> } #declare i=i+1; #declare j=j-1; #end #declare i=0; #while (i<4) object{ peao translate<-1+i,0,0> } #declare i=i+3; #end #declare i=0; #while (i<4) object{ rei translate<0+i,1,0 > } #declare i=i+3; #end // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <8.00,4.00,2.00> // #local cam_sky = z #include "camlight.inc" camlight(<2,2,0>,<10,10,10>,8.0,z,1.0)