// Exemplo de arquivo de descricao de cena para POV-ray // edited on 02/05/2001 by Joao Amancio Junior - RA007877 // Last edited on 2001-06-02 21:35:03 by stolfi #include "colors.inc" #include "metals.inc" background{ color rgb < 1.00, 1.00, 1.00 > } // camera { location < 7, 3.5, 18> right <-0.60, 0.00, 0.00 > up < 0.00, 0.80, 0.00 > sky < 0.00, 1.00, 0.00 > look_at <0,5,0> } light_source { <15, 30, 60> color White } #declare metal = T_Chrome_3A #declare eixoX = cylinder { < -5, 0, 0 >, < 5, 0, 0 >, 0.03 pigment { Green } } #declare eixoY = cylinder { < 0,-2, 0 >, < 0, 10, 0 >, 0.03 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -2 >, < 0, 0, 10 >, 0.03 pigment { Red } } #declare ouro = texture { pigment { BrightGold } finish { ambient 0.1 diffuse 0.4 reflection 0.25 specular 1.0 metallic } } #declare prata = texture { pigment { Silver } finish { ambient 0.1 diffuse 0.1 reflection .8 specular .1 metallic } } #declare base = difference { box { <-4, 0, -2>, < 4, 2, 2> texture { metal } }// Base cylinder { < 4, 1, 2.1 >, <4, 1, -2.1 >, 1 texture { metal } }// esq cylinder { < -4, 1, 2.1 >, <-4, 1, -2.1 >, 1 texture { metal } }// esq } #declare pernas= union { box { < 3, 0.9, 1>, < 2.5, 5.5, -1> texture {ouro} rotate 20*z }// pernaesq box { < -2.5, 0.9, 1>, < -3, 5.5, -1> texture {ouro} rotate -20*z }// pernadir torus { 1.3, .8 rotate x*-90 translate <0,8,0> texture {ouro} } } #declare argolas= // cylinder { < -3, 1, 2.2 >, <-3, 1, -2.1 >, .5 pigment { Red } } torus { .5, .1 rotate x*-90 translate <.9,1.3,2.1> pigment {Red} }// bola1 torus { .5, .1 rotate x*-90 translate <0.0,1.3,2.1> pigment {Green} }// bola2 torus { .5, .1 rotate x*-90 translate <-0.9,1.3,2.1> pigment {Yellow} }// bola3 torus { .5, .1 rotate x*-90 translate <.5,.7,2.1> pigment {Blue} }// bola4 torus { .5, .1 rotate x*-90 translate <-0.5,.7,2.1> pigment {White} }// bola5 #declare plano = plane { <0,1,0>, -2 pigment {checker color Green color Yellow} } // object {eixoX} // object {eixoY} // object {eixoZ} object {base} object {pernas} object {plano} object {argolas}