// ====================================================================== // CÂMERA camera { location < 20.00, 25.00, 28.00 > // Posição do observador. right 0.75*x // Largura RELATIVA da imagem. up 1*y // Altura RELATIVA da imagem. sky z // Qual direção é "para cima"? look_at < 3.00, 0.00, 12.00 > // Para onde a câmera está apontando. } // Nota: os parâmetros "right" e "up" devem ter a mesma proporção // que os parâmetros ${WIDTH} e ${HEIGHT} no Makefile. // ====================================================================== // 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 } }