// Last edited on 2003-02-27 10:30:15 by stolfi /*--------------------CUBO------------------------------ */ background{ color rgb < 0.20, 0.23, 0.35 > } light_source { < 7.00, 3.00, -20.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, 0.00, -20.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 0.00, 0.00 > } #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cubo = box { < 3.00, 3.00, 3.00 >, <5.00,5.00,5.00> texture { tinta_A } } object { cubo } /*-----------------------------------------------------*/ /*---------------------Esfera--------------------*/ #declare esfera = sphere { < 0.00, 0.00, 0.00 >, 2 texture { tinta_B } } object { esfera } /*----------------------------------------------*/ /*-----------------Cilindro----------------------*/ #declare cilindro = cylinder { < -4.00, -4.00, -4.00 >, < -4.00, -6.00, -4.00 >, 1.00 texture { tinta_A } } object{cilindro}