// Last edited on 2001-05-27 16:03:36 by stolfi background{ color rgb < 0.10, 0.80, 1.00 > } light_source { < 40, 70, -35 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 35, 45, -20 > right < -1.2, 0.00, 0.00 > up < 0.00, 0.90, 0.00 > sky y look_at < 20, 30, 20 > } #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare amarelo = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 1.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare preto = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cilindro = cylinder { < 0, 30, 20 >, < 25, 30, 20 >, 5 texture { amarelo } } #declare cone1 = cone { < 25, 30, 20 >, 5 < 35, 30, 20>, 2 texture {preto} } #declare cone2 = cone { <2,35,20>,2 <2,39,20>,1 texture {vermelho} } #declare caixa1 = box { <10,15,16>, <13,30,15> texture {preto} } #declare caixa2 = box { <23,14,15>, <26,29,17> texture {preto} } // Aqui está a cena, finalmente: union { object { cilindro } object { cone1 } object { cone2 } object {caixa1 } object {caixa2 } }