// MC930: Exercicio 1 - 28/09/2000 background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 20.00, 20.00, 20.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 20.00, 20.00, 20.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 5.00, 10.00, 2.00 > } #declare tinta_preta = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_azulescura = texture { pigment { color rgb < 0.00, 0.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_azulclara = texture { pigment { color rgb < 0.20, 0.20, 1.20 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare roda = torus { 2.0, 0.5 texture { tinta_preta } } #declare partetraseira = cylinder { <2, 15, 1>, <8, 15, 1>, 5 texture { tinta_azulescura } } #declare partefrontal1 = cylinder { <2, 3, 14>, <8, 3, 14>, 14 texture { tinta_azulclara } } #declare partefrontal2 = cylinder { <2, 16, -6>, <8, 16, -6>, 14 texture { tinta_azulclara } } #declare partetraseira2 = box { < 2, 18, 3> < 8, 15, 1> texture { tinta_azulescura } } // Cena Final object { roda rotate <0, 0, 90> translate <1.50, 8.00, 1.00> } object { roda rotate <0, 0, 90> translate <1.50, 16.00, 1.00> } object { roda rotate <0, 0, 90> translate <8.50, 8.00, 1.00> } object { roda rotate <0, 0, 90> translate <8.50, 16.00, 1.00> } intersection { object {partetraseira2} object {partetraseira}} intersection { object { partefrontal1 } object { partefrontal2 } }