// Last edited on 2017-05-04 05:54:55 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 1.00, 0.60, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_cinza = texture{ pigment{ color rgb < 0.75, 0.75, 0.75 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_vidro = texture{ pigment{ color rgb < 0.85, 0.95, 1.00 > filter 0.70 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.10, 0.32, 0.60 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare raio = 0.500; #declare Ra = 0.750; #macro soldier(aux) #if (aux = 0) union{ sphere{ <0.00, 0.00, +4.375>, Ra texture{tx_cinza}} cylinder{ <0.00, 0.00, +3.875>, <0.00, 0.00, +3.625>, raio texture{tx_cinza}} box{ <-2.50, -0.625, +3.50>, <+2.50, +0.625, +3.625> texture{tx_cinza}} cylinder{ <-1.875, 0.00, +3.50>, <-1.875, 0.00, +1.875>, 0.625 texture{tx_cinza}} cylinder{ <+1.875, 0.00, +3.50>, <+1.875, 0.00, +1.875>, 0.625 texture{tx_cinza}} box{ <-1.245, -0.625, +3.50>, <+1.245, +0.625, +1.875> texture{tx_cinza}} cylinder{ <-0.60, 0.00, +0.25>, <-0.60, 0.00, +1.875>, 0.600 texture{tx_cinza}} cylinder{ <+0.60, 0.00, +0.25>, <+0.60, 0.00, +1.875>, 0.600 texture{tx_cinza}} sphere{ <-1.875, 0.00, +1.375>, raio texture{tx_cinza}} sphere{ <+1.875, 0.00, +1.375>, raio texture{tx_cinza}} box{ <-1.20, -0.625, +0.25>, <0.00, +1.00, 0.00> texture{tx_cinza}} box{ <+1.20, -0.625, 0.00>, <0.00, +1.00, +0.25> texture{tx_cinza}} cone{ <0.00, 0.00, +5.125>, 1.000, <0.00, 0.00, +6.00> , 0.000 texture{tx_cinza}} } #else union{ sphere{ <0.00, 0.00, +4.375>, Ra texture{tx_fosca}} cylinder{ <0.00, 0.00, +3.875>, <0.00, 0.00, +3.625>, raio texture{tx_fosca}} box{ <-2.50, -0.625, +3.50>, <+2.50, +0.625, +3.625> texture{tx_fosca}} cylinder{ <-1.875, 0.00, +3.50>, <-1.875, 0.00, +1.875>, 0.625 texture{tx_fosca}} cylinder{ <+1.875, 0.00, +3.50>, <+1.875, 0.00, +1.875>, 0.625 texture{tx_fosca}} box{ <-1.245, -0.625, +3.50>, <+1.245, +0.625, +1.875> texture{tx_fosca}} cylinder{ <-0.60, 0.00, +0.25>, <-0.60, 0.00, +1.875>, 0.600 texture{tx_fosca}} cylinder{ <+0.60, 0.00, +0.25>, <+0.60, 0.00, +1.875>, 0.600 texture{tx_fosca}} sphere{ <-1.875, 0.00, +1.375>, raio texture{tx_fosca}} sphere{ <+1.875, 0.00, +1.375>, raio texture{tx_fosca}} box{ <-1.20, -0.625, +0.25>, <0.00, +1.00, 0.00> texture{tx_fosca}} box{ <+1.20, -0.625, 0.00>, <0.00, +1.00, +0.25> texture{tx_fosca}} cone{ <0.00, 0.00, +5.125>, 1.000, <0.00, 0.00, +6.00> , 0.000 texture{tx_fosca}} } #end #end #declare dd = 6.0; #macro army(col,line) union{ #declare i=0; #while (i