// MC930: Exercicio 4 - 26/10/2000 // Americo S. Jr. - RA: 970192 #include "colors.inc" background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 0.00, 0.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, -1.00, 10.00 > right < 0.00, 1.20, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare tinta_AMARELO = rgb < 1.00, 1.00, 0.00 >; /* texture { pigment { color } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } */ #declare tinta_AZUL = 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_VERDE = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare marrom_rugoso = texture { pigment { color Brown } normal { bumps 4.5 scale 0.5 } finish { phong 1} } #declare verde_rugoso = texture { pigment { color Green } normal { bumps 0.2 scale 0.2 } finish { phong 1} } #declare frase1 = text { ttf "timrom.ttf" "Star Net", 2.5, 0 pigment { color tinta_AMARELO } finish { reflection .25 specular 1 } } #declare planeta = sphere { <2,1,1>, 0.5 texture {verde_rugoso} } union { object { frase1 } object { planeta } translate <10*clock, 10*clock, 0> }