// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb < 0.00, 0.03, 0.15 > } light_source { < 4.00, 10.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 2.00, 1.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 coisa = union { blob { threshold .65 sphere { <0,0,0>, 1.2, 1 pigment { color rgb <1,1,0> } } sphere { <.6,0,0>,.6, 1 pigment { color rgb <1,1,0> } } sphere { <.9,0,0>, .4, 1 pigment { color rgb <1,1,0> } } finish { phong 1 } } cone { <1, 0, 0>, 0 // Center and radius of one end <1.3, 0, 0>, .02 // Center and radius of other end pigment { color rgb <0,1,0>} } } #declare thebox= box { <2, 0, 2>, // Near lower left corner < -2, 2, -2> // Far upper right corner pigment {color rgb <1,1,0>} } #declare miolo = box { < 1, .01, .2>, // isso eh o meio <-1,-.01,-.2> pigment {color rgb <0,1,0>} } #declare tudo = union { object {coisa} object {coisa rotate <0,90,0>} object {coisa rotate <0,-90,0>} object {coisa rotate <0,180,0>} object {coisa rotate <0,0,90>} object {coisa rotate <0,0,-90>} } difference { object { tudo } object { thebox} } object {miolo} object {miolo rotate <0,90,0>}