// Exercicio 5 de MC930

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

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

light_source { <-5.00, 8.00, 1.50> color rgb <1.00,1.00,1.00> }
light_source { <0.00, 0.00, 25.50> color rgb <1.00,1.00,1.00> }


#declare azul = rgb < 0.00, 0.00, 1.00 >;

#declare patchA =
	bicubic_patch{
	type 1 flatness 0.0100 u_steps 3 v_steps 3,
	<6.00, 4.00, 8.00>,
	<3.00, 4.00,8.00>,
	<-3.00,4.00,8.00>,
	<-6.00, 4.00, 8.00>,
	<6.00,2.00,7.0>,
	<3.00,2.00,7.0>,
	<-3.00,2.00,7.0>,
	<-6.00,2.00,7.0>,
	<6.00,2.00,1.0>,
	<3.00,2.00,1.0>,
	<-3.00,2.00,1.0>,
	<-6.00,2.00,1.0>,
	<6.00,-2.00,0>,
	<3.00,-2.00,0>,
	<-3.00,-2.00,0>,
	<-6.00,-2.00,0>
	  texture { pigment {color  azul}}
    }

	
	
object {
	patchA
	translate<0,3,-2>

}


object {
	patchA
	rotate <0,0,180>
	translate <0,-1.10,-2>

}