// Last edited on 2001-06-02 20:51:47 by stolfi #include "colors.inc" background{ color rgb < 1.0, 1.0, 0.0 > } camera { location < 7, 10, 12 > // location < 0, 0, -15> //de cima // location < 0, 0, 0> //lado esquerdo // location < 0, 0, 0> //lado direito right < -0.60, 0.00, 0.00> up < 0.00, 0.00, 0.80> sky < 0.00, 0.00, 1.00> look_at <0,0,0> } light_source { < 40, 50, 80> color White } #declare Cor_Verde = texture { pigment { color rgb < 0, 1, 0 > } finish { diffuse 0.5 specular 1 roughness 0.1 ambient 0.1 } } #declare Cor_Laranja = texture { pigment { color rgb < 1, 0.5, 0.0 > } finish { diffuse 0.5 specular 1 roughness 0.1 ambient 0.1 } } #declare Cor_Rosa = texture { pigment { color rgb < 1, 0, 1 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare eixoX = cylinder { < -5, 0, 0 >, < 5, 0, 0 >, 0.03 pigment { Green } } #declare eixoY = cylinder { < 0,-5, 0 >, < 0, 5, 0 >, 0.03 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -5 >, < 0, 0, 5 >, 0.03 pigment { Red} } #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 cor_cristal filter 1} } #declare cor_espelho = <0,1,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 anel = torus { 1, 0.2 pigment {Red} } #declare piso = box { < -3.00, -3.00, 0.00 >, < 3.00, 3.0, -1.00 > texture { Cor_Rosa } } // plane { < 0, 0, 1>, -0.5 pigment {color Red} } //plane { <0, 1, 0>, -2 // pigment { // checker color Red, color Blue // } // } union{ object {piso} object {anel rotate x*-45 translate <-2,-1,0>} object {anel rotate y*-45 translate <0,1,2>} object {anel rotate z*-45 translate <2,1,0>} } // eixoX // eixoY // eixoZ