// Last edited on DATE TIME by stolfi // ====================================================================== #declare ctr = < 3.00, 0.00, 12.00 >; #declare camDir = (< 20.00, 25.00, 28.00 >) - (< 3.00, 0.00, 12.00 >); camera { location ctr + 1.00*camDir right -1.00*x up 0.75*y sky z look_at ctr } // ====================================================================== // FONTES DE LUZ light_source { 10 * < +40.0, +20.0, +40.0 > // Posição da lâmpada. color rgb 1.2 * < 1.00, 1.00, 1.00 > // Intensidade e corda luz. } // ====================================================================== // DESCRIÇÃO DA CENA #include "dados.inc" //fundo: background { color rgb < 0.75, 0.80, 0.85 > } #declare parede = box { <-1,2,0.00> <0,-2,24.5> texture { pigment { rgb <0,1,0> } finish { ambient 0.05 diffuse 0.05 reflection <0,1,0> specular 0.2 roughness 0.05 } } } #declare chao = plane { <0,0,1>, 0 pigment { granite } finish { ambient .4 diffuse 0.7 } } // ======================================================================== // CENA union { object { chao } object { cilindros } object { parede } }