// 8o. Exercicio de MC930 // Editado em 22/11/2000 // Alexandre Piccolo - RA 961871 background{ color rgb < 0.70, 0.70, 0.60 > } light_source { < 4.00, 15.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < -10.00, -20.00, 10.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 1.50 > } #declare corpo = blob { threshold .10 sphere { < 0.00, 0.00, 1.00 >, 2.00 1 texture { pigment { color rgb < 0.00, 0.00, 0.00 > } normal { bumps 1.3 scale 0.05 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } } sphere { < 0.00, 0.00, 2.75 >, 1.50 1 texture { pigment { color rgb < 0.00, 0.00, 0.00 > } normal { bumps 1.3 scale 0.05 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } } normal { bumps 0.8 scale 0.7 } } #declare cabeca = sphere { < 0.00, 0.00, 5.00>, 1.00 texture { pigment { color rgb < 0.00, 0.00, 0.00 > } normal { bumps 1.3 scale 0.05 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } } #declare asa = difference{ sphere { < 0.00, 0.00, 1.00>, 2.80 texture { pigment { color rgb < 0.00, 0.00, 0.00 > } normal { bumps 1.3 scale 0.05 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } } box { < -1.50, 5.00, -5.00 >, < 1.50, -5.00, 3.80 > } } #declare pe = cylinder { < -0.50, 0.00, 2.00 >, < -0.50, 0.00, -2.00 >, 0.20 texture { pigment { color rgb < 0.00, 0.00, 0.00 > } normal { bumps 1.3 scale 0.05 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } } #declare bico = cone { < -1.50, 0.00, 5.20 > 0.0, < -0.50, 0.00, 5.20 > 0.5 texture { pigment { color rgb < 0.00, 0.00, 0.00 > } normal { bumps 1.3 scale 0.05 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } } #declare galinha = union { object { bico } object { pe } object { pe translate < 1.00, 0.00, 0.00> } object { asa } object { corpo } object { cabeca } } #declare cenario = box { < -50.00, 50.00, -50.00 >, < 50.00, -50.00, 50.00 > } #declare neblina = box { < -50.00, 50.00, -50.00 >, < 50.00, -50.00, -1.50 > } #declare espessura = 10; #declare branco = color rgb (1.0/espessura)*<1,1,1>; #declare cinza = color rgb (1.0/espessura)*<0.3,0.3,0.3>; object{ cenario hollow pigment{ color rgbt < 1,1,1,1 > } interior{ media{ scattering { 1, color cinza} } } } object{ neblina hollow pigment{ color rgbt < 1,1,1,1 > } interior{ media{ scattering { 1, color cinza} } } } object { galinha }