#declare espessura=2; #include "colors.inc" #include "textures.inc" background{ color rgb < 0.6, 0.6, 0.6 > } light_source { < 0.00, 1.00, -12.00 > color rgb < 1.00, 1.00, 1.00 > } fog { distance 15 color rgb < 0.5,0.5,0.5 > } camera { location < -3.00, 1.0, -8.00 > look_at < 0.00, 0.00, 0.00 > } #declare corpo= box { < 0, 0 , -0.9> < 3, 3 , 0.9 > hollow pigment{color rgbt <1,1,1,1>} interior { media{emission color Blue} } } #declare figd = cylinder { <0.0, 0, 0.0> <-1.5, 0, 0.0> 0.6 hollow pigment { color rgbt < 1,1,1,1 >} interior { media{ emission color Red } } rotate z*-35 translate <0,1.5,0> } #declare esfera= sphere{ <-1.7,2.8,0.0> 0.8 hollow pigment{color rgbt <1,1,1,1>} interior { media{emission color Yellow} } } #declare chao = plane { y,0 pigment { checker color rgb <0,0,1> color rgb <1,1,1>} } #declare fig = cylinder { <0.0, 0.5, 1.0> <0.0, 2.5, 1.0> 2.0 texture { pigment { Green } finish { reflection 0.6 ambient 0.2 diffuse 0.6 } } } #declare figi = cylinder { <0.0, 0.5, 1.0> <0.0, 2.6, 1.0> 2.0 texture { pigment { Green } finish { reflection 0.6 ambient 0.2 diffuse 0.6 } } } #declare figm= difference { object{fig} object{figi}} #declare figdi = cylinder { <2.8, 1.0, 1.0> <2.8, 2.1, 1.0> 0.8 texture { pigment {Gray } finish { reflection 0.6 ambient 0.2 diffuse 0.6 } } } #declare figm1= difference { object{figd} object{figdi} } #declare fige = cylinder { <-2.8, 1.0, 1.0> <-2.8, 2.0, 1.0> 0.8 texture { pigment {Gray } finish { reflection 0.6 ambient 0.2 diffuse 0.6 } } } #declare figei = cylinder { <-2.8, 1.0, 1.0> <-2.8, 2.1, 1.0> 0.8 texture { pigment {Gray } finish { reflection 0.6 ambient 0.2 diffuse 0.6 } } } #declare figm2= difference { object{fige} object{figei} } //object{predio} object { chao } //object { figm } object {figd} object {corpo} object {esfera} //object{figm2}