// Exercicio 1 - MC930
// Last edited on 2003-02-27 10:11:52 by stolfi
// Nilton Volpato - RA 003243
// Obra: Pov Lisa

#include "colors.inc"

background { color LightBlue }

light_source {
  < -14.00, 20.00, -50.00 >
  color rgb < 1, 1, 1 >
} 

camera {
  location  <  2, 6, -15 >
//  location < 0,20,-10>
  look_at   <  0.00, 0.00, 0.00 >
} 


#declare cor_cabeca = 
  texture {
    pigment { color 1.5*Orange }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare cor_corpo =
  texture {
    pigment { color Blue }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare cor_braco = 
  texture {
    pigment { color Yellow }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

sphere {
  <0, 5, 0>,
  2
  texture { cor_cabeca }
}

cone {
  <0,3,0>, 1.5
  <0,-5,0>, 4
  texture { cor_corpo }
}

cylinder {
  <3,-2,-2>, <-.5, -4, -3.5>,
  1
  texture { cor_braco }
}

cylinder {
  <-2.5,-1.5,-2>, <.5, -3, -4>,
  .9
  texture { cor_braco }
}

plane {
  y, -5
  pigment { checker color Black color White }
}