// Exercicio 2 // Last edited on 2000-05-19 by Daniella background{ color rgb < 1.00, 1.00, 0.50 > } //light_source { <10, 20, -10> color White } light_source { < 4.00, 10.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { //angle 15 // location <0,2,-10> location < 10.00, 10.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, 0.00 > } #declare raio = 2.000; #declare Green = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare Green_C = texture { pigment { color rgb < 0.00, 1.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } blob { threshold .65 sphere { <0.0,0.0,2.0>, 3.0, 1 pigment {color rgb < 0.00, 1.00, 1.00> } } sphere { <0.0,0.0, -2.5>,5.0, 1 pigment {color rgb < 0.00, 1.00, 0.00> } } sphere { <-2.0, -3.0, -7.0>, 3.5, 1 pigment {color rgb < 0.0, 0.0, 1.0 > } } sphere { <2.0, -3.0, -7.0>, 3.5, 1 pigment {color rgb < 0.0, 0.0, 1.0 >} } finish { phong 1 } } // Aqui está a cena, finalmente: