// Last edited on DATE TIME by USER // Processed by remove-cam-lights #include "textures.inc" background{ color rgb < 0.2, 0.2, 0.5 > } #declare tx_cinza = texture{ pigment{ color rgb < 0.745, 0.745, 0.745 > } } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_green = texture{ pigment{ color rgb < 0, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_black = texture{ pigment{ color rgb < 0, 0, 0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare caixa = box{ < -8,-8,0 >, <3,8,1>} #declare tela = box{ < -5,-3,1 >, <0,3,2> texture{tx_black} } #declare bola = cylinder{ < -7.00 , -7.00, 1 >, < -7.00, -7.00, 2 >, 0.75 texture{ tx_fosca } } #declare muralha = union{ cylinder {<10,-7,-2>, <10,-7,2>, 0.75 texture{Glass2}} cone{<10,-7,2>, 1, <10,-7,3>,0 texture{Glass2}} cylinder {<-10,7,-2>, <-10,7,2>, 0.75 texture{Glass2}} cone{<-10,7,2>, 1, <-10,7,3>,0 texture{Glass2}} cylinder {<-10,-7,-2>, <-10,-7,2>, 0.75 texture{Glass2}} cone{<-10,-7,2>, 1, <-10,-7,3>,0 texture{Glass2}} cylinder {<10,7,-2>, <10,7,2>, 0.75 texture{Glass2}} cone{<10,7,2>, 1, <10,7,3>,0 texture{Glass2}} box{ <10,-7,-2 >, <-10,7,1> texture{ tx_cinza } } } #macro muro (i,j,n) #if (j=1) object{muralha scale translate<0,n*(10*i),(n/2)*3>} #declare j=0; #else object{muralha scale translate<0,-n*(7*i),((n+1)/2)*3>} #declare j=1; #end #declare i=i/2; #declare n=n+1; #if (i>0.12) muro (i,j,n) #end #end #declare i=1; #declare j=1; #declare n=0; muro(i,j,n) #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 15.0; #declare dir_camera = < 28.00, 14.00, 8.00 >; #declare dist_camera = 200.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)