// Last edited on 2003-04-12 04:55:52 by stolfi #include "colors.inc" #include "textures.inc" #include "stones.inc" sky_sphere{ pigment { color rgb < 0.5, 0.6, 1.0 > } } light_source { //fonte de luz 10*< 10.00, 0.00, 1.30 > color rgb 1.2*< 1.00, 1.00, 1.0 > } light_source { //fonte de luz 10*< -7.00, 10.00, 1.30 > color rgb 0.7*< 1.00, 1.00, 1.0 > } camera { location 0.60*< 15.00, 4.00, 3.50 > // x, y, z right -0.60*x up 0.80*y sky < 0.00, 0.00, 1.00 > //vetor que aponta para cima look_at < 5.00, 0.00, 0.00 > } plane{<0,0,1>,-1 texture {T_Stone15} } #declare cinza = texture { pigment { color rgb < 1.0, 1.0, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cor_espelho = Red; #declare tx_espelho = texture { pigment {color cor_espelho } finish { ambient 0.05 diffuse 0.05 reflection cor_espelho specular 0.20 roughness 0.05 } } #declare cor_cristal = <1,1,1>; #declare tx_cristal = texture{ finish{ ambient 0.1 diffuse 0.2 reflection 0.25 specular 1 roughness 0.001 } pigment {color cor_cristal filter 1} } #declare cilindro = cylinder { < 5.00, 0.00, -0.50 >, < 5.00, 0.00, 1.00 >, 0.4 texture{cinza} } #declare esfera = sphere { < 5.0, 0.00, 0.0 >, 0.7 texture { tx_espelho } scale<1,1.5,1> } #declare copo = cylinder { < 5.00, 0.00, -0.50 >, < 5.00, 0.00, 1.20 >, 0.4 texture{tx_cristal} } #declare anel1 = torus{ 0.9, 0.06 texture {tx_cristal} rotate -90*x translate <5,0,0.5> } #declare anel2 = torus{ 1.1, 0.06 texture {tx_cristal} rotate -90*x translate <5,0,0.2> } #declare anel3 = torus{ 1.3, 0.06 texture {tx_cristal} rotate -90*x translate <5,0,0> } difference{ object{esfera} object{cilindro} } object{copo} object{anel1} object{anel2} object{anel3}