// Last edited on 2007-04-01 15:43:44 by stolfi
// Obs: entregou por e-mail por falta de conta ou problemas de login.

background{ color rgb < 0.75, 0.80, 0.85 > }

#declare raio = 2.000;

//tinta azul
#declare tinta_A = 
  texture {
    pigment { color rgb < 0.50, 0.50, 1.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 }
  }

// tinta amarela
#declare tinta_B = 
  texture {
    pigment { color rgb < 1.00, 0.80, 0.10 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 }
  }

// tinta verde
#declare tinta_C = 
  texture {
    pigment { color rgb < 0.10, 0.50, 0.10 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 }
  }
  
#declare bola =
  sphere {
    < 0.50, 1.00, 0.00 >, 0.30 
    texture { tinta_B }
  }

#declare cotovelo=
  sphere {
    < 0.50, 1.00, 2.00 >, 0.15 
    texture { tinta_B }
  } 

#declare bola3 =
  sphere {
    < 1.00, -2.00, 0.00 >, 1.00 
    texture { tinta_A }
  }

#declare furo = 
  cylinder {
    < 2.00, 2.00, 2.00 >,
    < -2.00, -2.00, -2.00 >,
    1.50
    texture { tinta_B }
  }
  
#declare pino = 
  cylinder {
    < 0.50, 1.00, 2.00 >,
    < 0.50, 1.00, 0.00 >,
    0.15
    texture { tinta_B }
  }

#declare pino2 =
 cylinder {
	<0.50, 1.00, 2.00 >,
	<3.00, 1.00, 2.00 >,
	0.15
	texture {tinta_B}

}

#declare pa1 =
 cylinder {
	<0.50, 1.00, 0.00 >,
	<0.50, 0.25, -0.25 >,
	0.10
	texture {tinta_C}
}
#declare pa2 =
 cylinder {
	<0.50, 1.00, 0.00 >,
	<0.50, -0.25, -0.25 >,
	0.10
	texture {tinta_C}
}

#declare pa3 =
 cylinder {
	<0.50, 1.00, 0.00 >,
	<-0.50, 0.25, -0.25 >,
	0.10
	texture {tinta_C}
}
#declare eixo_x =
	cylinder {
	< 0.00, 0.00, 0.00 >,
	<10.0, 0.00, 0.00 >,
	0.05
	texture {tinta_A}
}

#declare eixo_y =
	cylinder {
	< 0.00, 0.00, 0.00 >,
	<0.0, 10.00, 0.00 >,
	0.05
	texture {tinta_B}
}

#declare eixo_z =
	cylinder {
	< 0.00, 0.00, 0.00 >,
	<0.0, 0.00, 10.00 >,
	0.05
	texture {tinta_C}
}
#declare caixa = 
	box {
	< 2.00, 0.50, 2.50 >,
	< 4.00, 2.00, -2.00 >
	
	texture {tinta_B}
		
}

#declare base = 
	box {
	<-2.00, -2.00, -2.00 >,
	<4.00, 4.00, -2.05 >
	texture {tinta_C}
}

  
// Aqui está a cena, finalmente:
//object {eixo_x}
//object {eixo_y}
//object {eixo_z}


object{caixa}
object{pino} 
object{cotovelo}
object{pino2}
object{base}


object{ bola }
object{pa1}
object{pa2}
object{pa3}

#include "camlight.inc"
camlight(<2,1.5,-2>,<-5.00,-10.00,7.00>,0.70,z,1.0)