//Fabio Yuasa Niizu RA: 962325 background{ color rgb < 1,1, 1 > } light_source { < -4.00, -30.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, -15.00, 0.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 tinta_red = texture { pigment { color rgb < 1, 0, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_green = texture { pigment { color rgb < 0, 1, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_blue = texture { pigment { color rgb < 0, 0, 1 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bola = sphere { < 0.00, 2.00, 1.00 >, 1.00 texture { tinta_blue } } #declare cilindro = cylinder { < -3.00, -1.00, 0.00 >, < -3.00, -1.00, -1.00 >, 1.00 texture { tinta_red } } #declare quad = box { < 2.00, -1.00, -2.00>, // Near lower left corner < 4.00, -3.00, 0.00> texture { tinta_green } } // Aqui está a cena, finalmente: //difference { object { bola } //union { object { cilindro } object { quad } // object { furo2 } // } //}