//Leandro Brioschi de Oliveira //MC 930 09-11-2000 Exercicio Pov_Ray - Professor Stolfi #include "colors.inc" background { SkyBlue } light_source { <-50, 25, -15> White } plane { y, -20 texture { pigment { checker color Green color White } } } camera { location < -5.00, 15.00, -5.00 > look_at < 0.00, 0.0 , 0.00 > } #declare RedX = texture { pigment { color Red } normal { bumps 0.6 scale 0.2 } finish { phong 1} } #declare YellowX = texture { pigment { color Yellow } normal { bumps 0.6 scale 0.2 } finish { phong 1} } #declare BlueX = texture { pigment { color Blue } normal { bumps 0.6 scale 0.2 } finish { phong 1} } #declare cilindro_corpo = cylinder { <4.00, 15.00, 0.00> <4.00, 15.00, 6.00> 4.00 pigment { Blue } } #declare cilindro_corpo_dentro = cylinder { <2.25, 0.50, 3.5> <2.25, 7.6, 3.5> 1.75 pigment { color Red } } #declare muro_da_frente = box { < 0.00, 0.00, 0.00 >, < 8.0, 2.00, 0.20 > pigment { Blue } } #declare muro_lateral_esquerda = box { < 0.00, 0.00, 0.00 >, < .2, 2.00, 30 > pigment { Blue } } #declare vermelhorugoso = texture { pigment { color Red } normal { bumps 0.6 scale 0.2 } finish { phong 1} } #declare esfera_corpo = sphere { < 10.50, 7.5, -4.50 >, 3.0 texture { YellowX } } #declare esfera_corpo_dentro = sphere { < 10.50, 7.5, -4.50 >, 2.50 pigment { color Yellow } } #declare corte_esfera = box { < 7.50, 7.5, -7.5 >, < 14.0, 11.50, 7.0 > pigment { color Yellow } } union { object {muro_da_frente } object {muro_lateral_esquerda } }