// Last edited on 2003-12-09 01:31:51 by stolfi #include "colors.inc" #include "metals.inc" #include "golds.inc" #include "stones1.inc" #include "textures.inc" background{ color rgb < 0.8,0.9,1.5 > } //definicao da camera #declare ctr = < 0.00, 3.00, 0.00 >; #declare camDir = < 2.0, 5.00, 13.00 >; camera { location ctr + 1.00*camDir right -1.00*x up 0.75*y sky y look_at ctr } // ====================================================================== // FONTES DE LUZ light_source { 10 * < -0.0, 20.0, +5.0 > // Posição da lâmpada. color rgb 2.5 * < 1.00, 1.00, 1.00 > // Intensidade e corda luz. } // ====================================================================== // DESCRIÇÃO DA CENA #declare cor_cristal = < 0.8,0.9,1.5>; #declare cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_cristal filter 1} } #declare cor_cristal2 = < 1,1,0>; #declare cristal2 = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_cristal2 filter 1} } #declare cor_espelho = <0,0,1>; //azul #declare espelho= texture{ pigment {rgb cor_espelho} finish{ ambient 0.05 diffuse 0.05 reflection cor_espelho specular 0.20 roughness 0.05 } } #declare cor_espelho2 = <0,1,1>; //verde #declare espelho2 = texture{ pigment {rgb cor_espelho2} finish{ ambient 0.05 diffuse 0.05 reflection cor_espelho2 specular 0.20 roughness 0.05 } } // OBJETOS /// // Aqui está a cena, finalmente: #include "dados.inc"