// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_pele = texture{ pigment{ color rgb < 1, 0.75, 0.85 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_corpo = texture{ pigment{ color rgb < 1, 0, 0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_corpo2 = texture{ pigment{ color rgb < 0, 1, 0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_calca = texture{ pigment{ color rgb < 0.8, 0.8, 0.8 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_calca2 = texture{ pigment{ color rgb < 0.5, 0.15, 0.05 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_sapato = texture{ pigment{ color rgb < 0.5, 0.5, 0.5 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_sapato2 = texture{ pigment{ color rgb < 1, 1, 1 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_piso = 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 = 1.000; #declare cabeca = sphere{ < 0,0,0 >, 0.2 texture{ tx_pele } } #declare mao = sphere{ < 0,0,0 >, 0.1 texture{ tx_pele } } #declare pe = sphere{ < 0,0,0 >, 0.15 texture{ tx_sapato } } #declare pe2 = sphere{ < 0,0,0 >, 0.15 texture{ tx_sapato2 } } #declare corpo = cone{ < 0.00, 0.00, 0.90 >, 0.2, < 0.00, 0.00, 0.0 >, 0.4 texture{ tx_corpo } } #declare braco = box{ <+0.1,-0.5,-0.1>, <-0.1,+0.5,0.1> texture{ tx_corpo } } #declare corpo2 = cone{ < 0.00, 0.00, 0.90 >, 0.2, < 0.00, 0.00, 0.0 >, 0.4 texture{ tx_corpo2 } } #declare braco2 = box{ <+0.1,-0.5,-0.1>, <-0.1,+0.5,0.1> texture{ tx_corpo2 } } #declare perna = box{ <+0.1,-0.1,-0.3>, <-0.1,+0.1,0.3> texture{ tx_calca } } #declare perna2 = box{ <+0.1,-0.1,-0.3>, <-0.1,+0.1,0.3> texture{ tx_calca2 } } #declare degrau = box{ <+0.5,-5,-0.5>, <-0.5,+4,0.5> texture{ tx_piso } } #declare menino = union { object { cabeca translate <0,0,2>} object { corpo translate <0,0,0.9>} object { braco translate <0,0,1.5>} object { perna translate <0,-0.2,0.6>} object { perna translate <0,0.2,0.6>} object { mao translate <0,-0.6,1.5>} object { mao translate <0,+0.6,1.5>} object { pe translate <0,-0.2,0.3>} object { pe translate <0,+0.2,0.3>} scale 0.5 } #declare menina = union { object { cabeca translate <0,0,2>} object { corpo2 translate <0,0,0.9>} object { braco2 translate <0,0,1.5>} object { perna2 translate <0,-0.2,0.6>} object { perna2 translate <0,0.2,0.6>} object { mao translate <0,-0.6,1.5>} object { mao translate <0,+0.6,1.5>} object { pe translate <0,-0.2,0.3>} object { pe translate <0,+0.2,0.3>} scale 0.5 } #include "eixos.inc" union { #declare j=0; #while (j<5) #declare i=0; #while (i<10) #if (i+j = 3 | i+j = 6 | i+j = 9) object { menina translate } #else object { menino translate } #end #declare i = i+1; #end object { degrau translate } #declare j = j+1; #end } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 6.0; #declare dir_camera = <25.00, 15.00, 7.00 >; #declare dist_camera = 16.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)