// Last edited on 2001-01-19 03:45:05 by Felipe de Alvarenga Leite RA 973195 #include "colors.inc" #include "stones.inc" plane{y, 0 pigment{granite}} 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 { < 20.00, 15.00, -30.00 > color rgb < 0.3, 0.3, 0.3 > } light_source { < -10.00, 50.00, 45.00 > color rgb < 0.5, 0.5, 0.5 > } light_source { < 10.00, 7.00, -5.00 > color rgb < 0.2, 0.2, 0.2 > } camera { location < -10.00, 11, -20.00 > // right < 0.000, 0.00, 0.00 > // up < 0.00, 0.00, 0.00 > sky < 0.00, 1.00, 0.00 > look_at < 10, 10, 15 > } #declare i=0; #declare j=0; #declare azul= color rgb <1, 1.25, 1.75>; #declare telhado= texture{pigment{color rgb <1.5, 0, 0>} normal{ wrinkles 0.7 scale 0.1} } #declare Branco = color rgb<1.5, 1.5, 1.5>; #declare Zinco = texture{ pigment{color rgb <0.5, 0.5, 0.5>} normal{wrinkles 0.7} finish{metallic on phong 1} } #declare janela = pigment{White} #declare chao = box{<-10, 0.1, -10> <30, 0, 50> pigment{ brick color Black, color White brick_size <1,0.5,0.5> mortar 0.3 } } #declare base= union{ object{box{<0, 0, 0> <20, 8, 40> pigment{azul}}} object{box{<0, 4, -1> <20, 6, 2> pigment{azul}}} object{box{<0, 6, -1> <20, 8, 2> pigment {azul}}} object{box{<8, 4, 20> <12, 8, 40> pigment {azul}}} object{box{<4, 6, -1> <16, 8, 2> pigment {azul}}} object{box{<6, 8, -0.2> <14, 12, 2> pigment{azul}}} object{box{<6, 12, -1> <14, 11, 2> pigment{azul}}} } #declare degraus= union{ object{box{<5, 0, 0> <15, 0.1, -2> pigment {Brown}}} object{box{<5.2, 0.1, 0> <14.8, 0.2, -1.9> pigment {Brown}}} object{box{<5.4, 0.2, 0> <14.6, 0.3, -1.8> pigment {Brown}}} object{box{<5.6, 0.3, 0> <14.4, 0.4, -1.7> pigment {Brown}}} object{box{<5.8, 0.4, 0> <14.2, 0.5, -1.6> pigment {Brown}}} object{box{<6, 0.5, 0> <14, 0.6, -1.5> pigment {Brown}}} } #declare cerca = cylinder{<7.6, 16, -0.24> <7.6, 16.5, -0.24> 0.025 texture {Zinco}} #declare torre1= union{ object{box{<8, 12, 1> <12, 16, 3> pigment {azul}}} object{box{<8, 15, 0> <12, 16, 1> pigment {azul}}} object{box{<7.5, 15.9, -0.5> <12.5, 16, 3.5> pigment {azul}}} object{box{<8.5, 16, 0> <11.5, 16.5, 3> pigment {azul}}} object{prism { conic_sweep linear_spline 0, // height 1 1, // height 2 9, // the number of points making up the shape... <1, 0.5> <0.5, 1> <-0.5, 1> <-1, 0.5> <-1, -0.5> <-0.5, -1> <0.5, -1> <1, -0.5> <1, 0.5>// <1,1>,<-1,1>,<-1,-1>,<1,-1>,<1,1> rotate <180, 0, 0> scale<2.15, 4, 1.7> translate<10, 20.5, 1.5> texture{Zinco} } } object{cylinder{<10, 20, 1.5> <10, 20.7, 1.5> 0.3 texture{Zinco}}} object{sphere{<10, 21.1, 1.5> 0.5 texture{Zinco}}} object{box{<10.05, 21.5, 1.55> <9.95, 23.1, 1.45> texture{Zinco}}} object{box{<9.4, 22.65, 1.45> <10.6, 22.75, 1.55> texture{Zinco}}} object{cylinder{<8.1, 16, -0.25> <8.1, 17, -0.25> 0.1 texture{Zinco}}} object{cylinder{<12.1, 16, -0.25> <12.1, 17, -0.25> 0.1 texture{Zinco}}} object{cylinder{<8.1, 16, 3.25> <8.1, 17, 3.25> 0.1 texture{Zinco}}} object{cylinder{<12.1, 16, 3.25> <12.1, 17, 3.25> 0.1 texture{Zinco}}} #while (i< 50) object{cerca translate <0.1*i, 0, 0>} object{cerca translate <0.1*i,0,3>} #declare i = i+1; #end #while (j< 40) object{cerca translate 0.1*j*z} object{cerca translate <5, 0, 0.1*j>} #declare j=j+1; #end } #declare abobada= union{ object{sphere{ <10, 10, 22> 2 texture {Zinco}}} object{cylinder{ <10, 8, 22> <10, 10, 22> 2 pigment {azul}}} } #declare relogio= cylinder{<10, 9.5, -0.2> <10, 9.5, -0.25> 1 pigment {Branco}} #declare colunag= union{ cylinder{<0.5, 0, -0.5> <0.5, 4, -0.5> 0.5 pigment {Branco}} cylinder{<0.5, 0, -0.5> <0.5, 1, -0.5> 0.55 pigment {Branco}} cylinder{<0.5, 1.05, -0.5> <0.5, 1.1, -0.5> 0.55 pigment {Branco}} cylinder{<0.5, 1.15, -0.5> <0.5, 1.2, -0.5> 0.55 pigment {Branco}} cylinder{<0.5, 3.8, -0.5> <0.5, 4, -0.5> 0.55 pigment {Branco}} } #declare colunap= union{ cylinder{<0.5, 0.6, -0.5> <0.5, 4, -0.5> 0.35 pigment {Branco}} cylinder{<0.5, 0.6, -0.5> <0.5, 1, -0.5> 0.4 pigment {Branco}} cylinder{<0.5, 1.05, -0.5> <0.5, 1.1, -0.5> 0.4 pigment {Branco}} cylinder{<0.5, 1.15, -0.5> <0.5, 1.2, -0.5> 0.4 pigment {Branco}} cylinder{<0.5, 3.8, -0.5> <0.5, 4, -0.5> 0.4 pigment {Branco}} } #declare colunapp= union{ cylinder{<6.4, 8, -0.6> <6.4, 11, -0.6> 0.35 pigment {Branco}} cylinder{<6.4, 8, -0.6> <6.4, 9, -0.6> 0.4 pigment {Branco}} cylinder{<6.4, 9.05, -0.6> <6.4, 9.1, -0.6> 0.4 pigment {Branco}} cylinder{<6.4, 9.15, -0.6> <6.4, 9.2, -0.6> 0.4 pigment {Branco}} cylinder{<6.4, 10.8, -0.6> <6.4, 11, -0.6> 0.4 pigment {Branco}} } #declare colunappp= union{ cylinder{<8.5, 12, -0.6> <8.5, 15, -0.6> 0.25 pigment {Branco}} cylinder{<8.5, 12, -0.6> <8.5, 13, -0.6> 0.3 pigment {Branco}} cylinder{<8.5, 13.05, -0.6> <8.5, 13.1, -0.6> 0.3 pigment {Branco}} cylinder{<8.5, 13.15, -0.6> <8.5, 13.2, -0.6> 0.3 pigment {Branco}} cylinder{<8.5, 14.8, -0.6> <8.5, 15, -0.6> 0.3 pigment {Branco}} } #declare colunasfachada= union{ object{colunag} object{colunag translate 5*x} object{colunag translate 14*x} object{colunag translate 19*x} object{colunap translate <6, 0, -0.6>} object{colunap translate <8, 0, -0.6>} object{colunap translate <11, 0, -0.6>} object{colunap translate <13, 0, -0.6>} object{colunapp} object{colunapp translate 2*x} object{colunapp translate 5.2*x} object{colunapp translate 7.2*x} object{colunappp translate <0.2, 0, 1>} object{colunappp translate <2.8, 0, 1>} } #declare prisma3= prism { linear_sweep linear_spline 0, // sweep the following shape from here ... 1, // ... up through here 4, // the number of points making up the shape ... <-5,-1.5>, <5,-1.5>, <0,1>, <-5, -1.5> pigment {azul} } #declare toldo= union{ object{box{<5,4,0> <15, 5.5, -2> pigment {azul}}} object{prisma3 rotate -90*x translate <10, 7, -1>} object{prisma3 rotate -90*x scale<0.85, 0.85, 0.05> translate <10, 7, -2>} object{prisma3 rotate -90*x scale<0.3, 0.3, 0.05> translate <10, 6.8, -2.05>} object{prisma3 texture{telhado} rotate -90*x scale <1, 1, 0.95> translate <10, 7.05, -1>} object{text { ttf "timrom.ttf" "N. SENHORA DA CONCEICAO" 0.5, 0 pigment { BrightGold } finish { reflection .25 specular 1 }} scale <0.63, 0.8, 1> translate <5.5, 4.5, -2.04> } } #declare portasjanelas= box{<9, 0, 0> <11, 3, -0.1> pigment {Brown}} box{<6.9, 0, 0> <7.9, 2.25, -0.1> pigment {Brown}} box{<11.9, 0, 0> <12.9, 2.25, -0.1> pigment {Brown}} box{<2, 0, 0> <3, 2, -0.1> pigment {Brown}} box{<18, 0, 0> <17, 2, -0.1> pigment {Brown}} box{<6.8, 8.5, 0> <7.8, 10.5, -0.25> pigment {Branco}} box{<12.2, 8.5, 0> <13.2, 10.5, -0.25> pigment {Branco}} box{<9.5, 13, 0.8> <10.5, 14.5, 1> pigment {Branco}} #declare telhadof= difference{ object{prisma3 texture{telhado} rotate -90*x scale <2.03, 0.7, 40> translate <10, 9.05, 40>} box{<7.5, 8, 19.5> <12.5, 12, 24.5> pigment{azul}} box{<6, 7, -1> <14, 12, 2.8> pigment{azul}} } #declare catedral= union{ object{chao} object{base} object{relogio} object{torre1 translate -0.2*z} object{abobada} object{portasjanelas} object{degraus} object{colunasfachada} object{toldo} object{telhadof} } object{catedral}