// Exercicio de computaƧao grafica - MP004 - Stolfi
// Solange Tieko Sakaguti - Ra 007847

#include "colors.inc"

background{Gray}

light_source {
  < 4.00, 10.00, 50.00 >
  White
} 

camera {
  location  <  0.00, 0.00, 20.00 >
  right     < -1.20, 0.00, 0.00 >
  up        <  0.00, 0.00, 0.90 >
  sky       <  0.00, 0.00, 1.00 >
  look_at   <  0.00, 0.00, 0.00 >
} 

#declare corpo = 
 union{
    sphere { <.5, 0, 0>, 2 scale <3, .5, 3> rotate 30*z}    
    sphere { <0, 0, 0>, 2.5 scale <1.5, .3, 2 > rotate 140*z}
    sphere { <.9, 18, 2.6>, 1.5 scale <1.5, .2, 1> rotate -40*z}
    sphere { <-2.2,-2.7,2>, .35 pigment {Black}}
    sphere { <-1.8,-2.7,2>, .35 pigment {Black}}
    cylinder { <.2,-3,0>, <1,-3,2.2>, .1 rotate -50*z pigment{Black}}
    cylinder { <0,-3,2>, <.8,-3,4.2>, .1 rotate -50*z pigment{Black}}
    sphere { <5.5,2.5,2>, .35 pigment {Black}}  
    pigment {Red}
}  
  


corpo