// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi #include "colors.inc" background{ color rgb < 0.75, 0.60, 0.50 > } light_source { < 0.00, 30.00, 30.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 8.00, 16.00, 8.00 > right < -0.60, 0.00, 0.00 > up < 0.00, 0.00, 0.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare cor_cristal = <1,0,0>; #declare tx_cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color Red filter 1} } #declare cor_espelho = <0,0,1>; #declare tx_espelho = texture{ pigment { rgb Gray } finish { ambient 0.05 diffuse 0.05 reflection Gray specular 0.20 roughness 0.05 } } #declare circulo = torus { 1.00, 0.50 texture { tx_cristal} } #declare cilindro = cylinder { < 0.00, 0.00, 0.00 >, < 3.00, 0.00, 0.00 >, 0.50 texture { tx_cristal } } #declare cono = cone { < 0.00, 0.00, 4.00 >,2.00 < 0.00, 0.00, 0.00 >,1.00 texture { tx_espelho } } #declare caixa = box { < 1.00, 1.00, 1.00 >, < -1.00, -1.00, -1.00 > } // Aqui está a cena, finalmente: union { object { circulo translate <0.00, 0.00, 4.00> hollow interior { ior 1.2} } object { cono } object { caixa scale <3,3,1> translate <0.00, 0.00, -1.00> texture { tx_espelho } // pigment {Blue} } // espinha da base taça object { cilindro rotate <0,-30,0> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,45> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,90> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,135> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,180> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,225> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,270> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0,0,315> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0, 0, 45> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0, 0, 90> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0, 0, 135> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0, 0, 180> translate <0.00, 0.00, 1.50> } object { cilindro rotate <0,-30,0> rotate <0, 0, 225> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0, 0, 270> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { cilindro rotate <0,-30,0> rotate <0, 0, 315> translate <0.00, 0.00, 1.50> hollow interior { ior 1.2} } object { plane {z,0} translate <0,0,-2> pigment { checker color White, color Gray } } //object { plane {y,0} // translate <0,0,-10> // pigment { checker color White, color Gray } } }