// MP004 - Prof Stolfi // Lab 4 - Copa Embromadores das Americas // 02/06/2001 // Last edited on 2001-06-02 21:03:22 by stolfi background{ color rgb < 0.00, 0.03, 0.15 > } #include "colors.inc" camera { location <17, 12, 12> right <-0.60, 0.0, 0.00 > up <0.00, 0.80, 0.00 > sky <0.00, 1.00, 0.00 > look_at <0,0,0> } background { color Gray50 } // to make the torus easy to see light_source{ <100, 300, 200> White } plane { <0, 1, 0>, -1 pigment { checker color Black, color White } } #declare cor_cristal = < 1.00, 1.00, 0.0 > ; #declare tx_cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_cristal filter 1 } } #declare cor_espelho = <1.00, 0.00, 0.0> ; #declare tx_espelho = texture { pigment {rgb cor_espelho } finish{ ambient 0.05 diffuse 0.05 reflection cor_espelho specular 0.20 roughness 0.05 } } #declare Arco = difference { torus { 4, 1 rotate -90*x } box { <-5, -5, -1>, <5, 0, 1> } texture { tx_cristal } } #declare Base = box { <-6, 0, 0 >, // Near lower left corner < 6, 0 , -3 > // Far upper right corner texture { tx_espelho } } #declare Bola1 = sphere { < 6.00, 0.00, 0.00 >, 1.0 texture { tx_espelho } hollow interior { ior 1.5 } } #declare Bola2 = sphere { < -6.00, 0.00, 0.00 >, 1.0 texture { tx_espelho } hollow interior { ior 1.5 } } //Now we create the object : object { Arco } //object { Base } object { Bola1 } object { Bola2 }