// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_A = texture { pigment { color rgb < 0.0, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare pele = texture { pigment { image_map { jpeg "imagem2.jpg" }} } #macro cabeca(alt,larg,tex) sphere { < 0.00, 0.00, 0.00 >, 4.00 texture { tex } scale alt*z scale larg*y } #end #macro olho_direito(ver,hor,tex) sphere{ <0,0,0>, 0.4 texture { tex } translate <4, 1, 1.5> translate <0,hor,ver> } #end #macro olho_esquerdo(ver,hor,tex) sphere{ <0,0,0>, 0.4 texture { tex } translate <4,-1,1.5> translate <0,hor,ver> } #end #macro nariz(ver,hor,tex) cone { <0,0,0>, 0.3 <0.5,0,0>, 0 texture {tex} translate <4,0,0> translate <0,hor,ver> } #end #macro orelha_esquerda(ver,hor,tex) difference { object {box { < 0,0,0 >, < -2,2,-2 > texture { tex } }} object{box { < 0,0,0 >, < -2,2,-2 > texture { tex } scale 0.5 translate <-0.25,0,-0.25> }}translate <0,2,1> translate <0,hor,ver> } #end #macro orelha_direita(ver,hor,tex) difference { object {box { < 0,0,0 >, < -2,2,-2 > texture { tex } }} object{box { < 0,0,0 >, < -2,2,-2 > texture { tex } scale 0.5 translate <-0.25,1.25,-0.25> }} translate <0,-4,1> translate <0,hor,ver> } #end #macro boca(ver,hor,tex) union { object {box { <0,0,0 >, <-0.5,1.5,-0.5> texture { tex } }} object {box { <0,0,0 >, <-0.5,1.5,-0.5> texture { tex } translate <0,1.2,-1> rotate <30,0,0> }} object {box { <0,0,0 >, <-0.5,1.5,-0.5> texture { tex } translate <0,-1.2,0> rotate <-30,0,0> }} translate <4,-0.7,-1.5> translate <0,ver,hor> } #end union { object {cabeca (1,1,tinta_A)} object {orelha_direita(0,0,tinta_A)} object {orelha_esquerda(0,0,tinta_A)} object {olho_direito(0,0,tinta_A)} object {nariz(0,0,tinta_A)} object {olho_esquerdo(0,0,tinta_A)} object {boca(0,0,tinta_A)} } union { object {cabeca (1,1,tinta_A)} object {orelha_direita(0,0,tinta_A)} object {orelha_esquerda(0,0,tinta_A)} object {olho_direito(0,0,tinta_A)} object {nariz(0,0,tinta_A)} object {olho_esquerdo(0,0,tinta_A)} object {boca(0,0,tinta_A)} translate 12*y } union { object {cabeca (1,1,pele)} object {orelha_direita(0,0,pele)} object {orelha_esquerda(0,0,pele)} object {olho_direito(0,0,pele)} object {nariz(0,0,pele)} object {olho_esquerdo(0,0,pele)} object {boca(0,0,pele)} translate -13*y } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <45.00,5.00,3.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,20.0,z,1.0)