// arquivo de descricao de cena para POV-ray
// Last edited on 2003-02-27 10:24:57 by stolfi
// Laboratório 1 - MC930 - 1S/2003
// Marcelo Bello RA 992119

background{ color rgb < 0.5, 0.5, 0.5 > }

light_source {
  < 50, 70.00, -200.00 >
  color rgb 1.2*< 1.00, 1.00, 1.00 >
} 

camera {
  location  <  0.00, 0.00, -200.00 >
  look_at   <  0.00, 0.00, 0.00 >
} 

#declare raio = 2.000;


#declare corPele =
  texture {
    pigment { color rgb < 1.0, 0.8, 0.8 > }
  }

#declare tintaTronco =
  texture {
    pigment { color rgb < 0.2, 0.2, 0.2 > }
    finish { diffuse 1 }
  }

#declare cabeca =
  sphere {
    < 0.00, 60.00, 0.00 >, 20.00 
    texture { corPele }
  }

#declare ombro =
  cone {
    <0.00, 20.00, 0.00>, 25.0, <0.00, 40.00, 0.00>, 0.0
    texture { corPele }
  }

#declare tronco =
  cylinder {
    <0.00, 20.00, 0.00>, <0.00, -20.00, 0.00>, 25.00
    texture { tintaTronco }
  }

#declare pernaEsquerda =
  cylinder {
    <-15.00, -20.00, 0.00>, < -15.00, -60.00, 0.00>, 10.00
    texture { tintaTronco }
  } 

#declare pernaDireita =
  cylinder {
    <15.00, -20.00, 0.00>, < 15.00, -60.00, 0.00>, 10.00
    texture { tintaTronco }
  }

  
// Aqui está a cena, finalmente:

union { 
  object { cabeca } 
  object { ombro }
  object { tronco }
  object { pernaEsquerda }
  object { pernaDireita }
}