// Exercicio da aula de 02/06/2001 - Stolfi // Solange Tieko Sakaguti - Ra007847 // Last edited on 2001-06-02 20:33:04 by stolfi #include "colors.inc" background{White} light_source { <4,10,15> White } camera { location < 10, 6, 6 > right <-0.60, 0.00, 0.00 > up < 0.00, 0.80, 0.00 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 0.00, 0.00 > } #declare cor_cristal1 = <0,0,1> //azul #declare tx_cristal1 = texture { finish { ambient .1 diffuse .1 reflection .25 specular 1 roughness .001 } pigment {color cor_cristal1 filter 1} } #declare cor_cristal2 = <1,1,0> //amarelo #declare tx_cristal2 = texture { finish { ambient .1 diffuse .1 reflection .25 specular 1 roughness .001 } pigment {color cor_cristal2 filter 1} } #declare cor_espelho = <0,0,.3> //cinza #declare tx_espelho = texture { pigment {rgb cor_espelho} finish { ambient .05 diffuse .005 reflection cor_espelho specular .20 roughness .05 } } #declare parte_torus = difference { torus {.1,1} torus {.01,.2} texture {tx_cristal2} hollow interior {ior 1.5} } #declare cilindro = cylinder {<0,-2,0>, <0,-4,0>, .1 texture {tx_espelho} } #declare base = cylinder {<0,-4,0>, <0,-4.2,0>, 1 texture {tx_espelho} } #declare triangulo = triangle { <-2,2>, <0,-2>, <2,2> pigment {checker color Blue, color White} hollow interior {ior 1.5} } plane {<0,1,0>, -5 pigment {checker color Yellow, color Brown} } plane {<0,0,.5>, -8 pigment {checker color Yellow, color Brown} } // eis o trofeu object { parte_torus translate <0,2,0> } object { parte_torus translate <-2,2,0> } object { parte_torus translate <2,2,0> } object { cilindro } object { base } object { triangulo }