// Terceiro Exercicio Pratico de MC930 // Fabio Rogerio Candido // Last Edit: 19/10/2000 background{ color rgb < 1.10, 1.10, 1.10 > } light_source { < 5.00, -14.00, 10.00 > color rgb < 1.0, 1.0, 1.0 > } camera { location < 5.00, -14.00, 5.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, 0.00 > } #declare raio = 3.000; #declare verde = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } normal { bumps 0.7 scale 0.2 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bola_sup = sphere { < 0.00, 0.00, 3.00 >, 3.00 texture { verde } } #declare bola_inf = sphere { < 0.00, 0.00, -3.00 >, 3.00 texture { verde } } #declare cil_melanc = cylinder { < 0.00, 0.00, 3.00 >, < 0.00, 0.00,-3.00 >, 3.00 texture { verde } } #declare Corte = box { < -10, -10, 0>, < 10, 10, 10> texture { vermelho } } // Cena... difference { union { object { bola_inf } object { cil_melanc } } object { Corte } texture { vermelho } }