//Tiago Saad - 971717 //projeto #include "colors.inc" #include "textures.inc" background { color red 1 green 1 blue 1} sky_sphere{ pigment{ gradient y color_map{ [0 color rgb<0, 0, .5>] [1 color rgb<0, 0, .1>] } } } camera{ location<8, 8, 8> look_at<0, 0, 0> } light_source{ < 10, 10, 10 > color rgb <1, 1, 1> } light_source{ <0, 10, 0> color rgb<1, 1, 1> } plane{ y, 0 pigment {color rgb < 0, 1, 0 >} } //palco #declare alturapalco = .3 #declare raiopalco = 1.5 cylinder{ <0, .1, 0> <0, alturapalco + .1, 0> raiopalco pigment { color rgb < .5, .5, .5> } } // chao #declare raiochao = 3 cylinder { < 0, 0, 0 > < 0, .1, 0 > raiochao pigment { color rgb < .8, 0.8, .8> } } //arquibancada #declare raioarq = 6 #declare todaarq = sphere{ < 0, 0, 0 > raioarq pigment { color rgb < .5, .5, .5 > } } #declare arquibancada = difference{ // bola inteira object{todaarq} // corto a parte de cima box { < -raioarq , raioarq, -raioarq> < raioarq, 0, raioarq> } // tenho uma meia esfera } #declare arqfora= object{arquibancada scale < .2, .5, .5 > rotate < 30, 0, 0 > translate < 0, 0, -3 > pigment { color rgb < 0.5, 0.5, .5>} } #declare arqdentro= object{arquibancada scale < .18, .51, .45 > rotate < 30, 0, 0 > translate < 0, .01, -3 > pigment { color rgb < 0, 0, 1>} } #declare alturamastro = 4 #declare arq1= union{ difference{ object{arqfora} object{arqdentro} } box{ < -.2, alturamastro, -.2> < .2, -alturamastro, .2> pigment{ color rgb < .8, .8, .8 >} rotate < 0, 0, 15 > translate < 6, 0, 0> } object { arqdentro translate < 0, -.01, 3 > rotate < -10, 0, 0> translate < 0, .01, -3 > pigment { color rgb < .8, .8, .8 > } } } // criando as 4 arquibancadas object{ arq1 } object{ arq1 rotate < 0, 90, 0 > } object{ arq1 rotate < 0, 180, 0> } object{ arq1 rotate < 0, 270, 0> }