// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2001-05-23 00:24:58 by stolfi background{ color rgb < 1.00, 1.00, 0.50 > } light_source { < 4.00, 10.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 8.00, 4.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.00, 0.00, 0.00 > } #declare raio = 3.000; #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bola = sphere { < 0.00, 0.00, 0.00 >, 3.00 texture { tinta_A } } #declare triangulo1 = cone { <0, 0, 2>, 2.0 // Center and radius of one end <0, 0, 0>, 4.0 // Center and radius of other end texture { tinta_A scale 4 } } #declare triangulo2 = cone { <0, 0, 3>, 1.0 // Center and radius of one end <0, 0, 2>, 2.0 // Center and radius of other end texture { tinta_B scale 6 } } #declare triangulo3 = cone { <0, 0, 4>, 0.3 // Center and radius of one end <0, 0, 3>, 1.0 // Center and radius of other end texture { tinta_A scale 8 } } #declare cilindro = cylinder { < -2.00, -2.00, -2.00 >, < -3.00, +2.00, +2.00 >, 1.0 texture { tinta_B } } #declare caixa1 = box { <0, 0,4>, // Near lower left corner <1, 1,2 > // Far upper right corner texture { tinta_B // Pre-defined from stones.inc scale 4 // Scale by the same amount in all // directions } rotate y*90 // Equivalent to "rotate <0,20,0>" } union { object { triangulo1 } object { triangulo2 } object { triangulo3 } object { cilindro } object { caixa1 } }