// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-11-09 12:14:05 by Felipe de Alvarenga Leite #include "colors.inc" #include "stones.inc" //plane{ y, 0 // pigment{granite scale 1.5} //} /*sky_sphere { pigment { gradient y color_map { [0.000 0.002 color rgb <1.0, 0.2, 0.0> color rgb <1.0, 0.2, 0.0>] [0.002 0.200 color rgb <0.8, 0.1, 0.0> color rgb <0.2, 0.2, 0.3>] } scale 2 translate -1 } pigment { bozo turbulence 0.65 octaves 6 omega 0.7 lambda 2 color_map { [0.0 0.1 color rgb <0.85, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>] [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 1>] [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] } scale <0.2, 0.5, 0.2> } rotate -135*x } */ background{ color rgb < 1, 1, 1 > } light_source { < 3.00, 30.00, -10.00 > color rgb < 1.00, 1.00, 1.00 > } //light_source { // < 15.00, 40.00, -5.00 > // color rgb < 1.00, 1.00, 1.00 > //} camera { location < -5.00, 15.00, -10.00 > // right < 0.000, 0.00, 0.00 > // up < 0.00, 0.00, 0.00 > sky < 0.00, 1.00, 0.00 > look_at < 5, 5, 10 > } #declare azul= color rgb <0.9, 0.9, 1> #declare caixa1= box{<0, 0, 0> <10, 5, 20> pigment{azul}} #declare caixa2= box{<2.5, 5, 0> <7.5, 8, 20> pigment{azul}} #declare torre1= union{ object{box{<4, 8, 0> <6, 10, 2> pigment{azul}}} object{prism { conic_sweep linear_spline 0, // height 1 1, // height 2 5, // the number of points making up the shape... <1,1>,<-1,1>,<-1,-1>,<1,-1>,<1,1> rotate <180, 0, 0> scale<1, 2.5, 1> translate<5, 12.5, 1> pigment {Black} } } } #declare abobada= union{ object{sphere{ <5, 10, 7> 2 pigment {Black}}} object{cylinder{ <5, 8, 7> <5, 10, 7> 2.1 pigment {azul}}} } #declare monumento= union{ object{caixa1} object{caixa2} object{torre1} object{abobada} } object{monumento}