// Trabalho 3 - 26/05/2001 #include "colors.inc" background{ color rgb < 0.00, 0.00, 0.00 > } light_source { < 10.00, 30.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < -5.00, 20.00, 10.00 > right < -0.60, 0.00, 0.00 > up < 0.00, 0.00, 0.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare tinta_Ouro = texture { pigment { BrightGold } finish { ambient 0.1 diffuse 0.4 reflection 0.25 specular 1.0 metallic } } #declare tinta_Cristal = texture { pigment { rgb White } finish { ambient 0.05 diffuse 0.05 reflection White specular 0.20 roughness 0.05 } } #declare tinta_Amarela = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 1.5 specular 0.5 roughness 0.005 ambient 0.1 } } box { < -5.00, -5.00, -4.00>, < 5.00, 0.00, -2.00> texture { tinta_Amarela } } box { < -4.50, -5.00, -3.50>, < 4.50, 0.00, -2.50> texture { tinta_Cristal } } sphere { <3.90, -1.00, -2.10>, 0.7 texture { tinta_Ouro } } sphere { <-3.90, -1.00, -2.10>, 0.7 texture { tinta_Ouro } } cylinder { < -1.60, -2.20, 3.00>, < -1.60, -2.20, -1.00>, 0.3 texture { tinta_Amarela } } cylinder { < 1.40, -2.20, 3.00>, < 1.40, -2.20, -1.00>, 0.3 texture { tinta_Amarela } } cylinder { < 0.00, -4.20, 3.00>, < 0.00, -4.20, -1.00>, 0.3 texture { tinta_Amarela } } torus { 0.45, 0.30 rotate x*-90 translate z*-1.6 translate y*-2.20 translate x*+1.5 texture { tinta_Ouro } } torus { 0.45, 0.30 rotate x*-90 translate z*-1.6 translate y*-2.20 translate x*-1.6 texture { tinta_Ouro } } torus { 0.45, 0.30 rotate x*-90 translate z*-1.6 translate y*-4.30 translate x*+0.0 texture { tinta_Ouro } } sphere { <-0.10, -2.20, 3.30>, 2.8 texture { tinta_Ouro } } plane { <0.0, 0.0, -5.0>, 4.0 pigment{checker color Black, color White} }