// Exercicio 1 POV-ray // Criacao : 12/05/2001 background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 6.00, 8.00, 2.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 6.00, 8.00, 2.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.50, 0.10, 1.00 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 1.00, 1.00, 0.10 > } //finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 0.00, 0.00, 1.00 > } //finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare caixa= box { < -2.00, -3.00, -1.00 >, < 3.00, 0.50, 3.00 > texture { tinta_A } } #declare pe1 = cylinder { < 3.00, 0.60, -1.00 >, < 3.10, 0.70, -2.00 >, 0.3 texture { tinta_B } } #declare pe2 = cylinder { < 3.05, -2.30, -2.00 >, < 3.10, -2.10, -1.00 >, 0.3 texture { tinta_B } } #declare pe3 = cylinder { < -2.70, -0.55, -1.40 >, < -2.70, -0.55, -2.40 >, 0.3 texture { tinta_B } } union { object { pe1 } object {pe2} object {pe3} object { caixa } }