//Paulo Marivo RA: 963044

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

light_source {
  < -4.00, -30.00, 50.00 >
  color rgb < 1.00, 1.00, 1.00 >
}

camera {
  location  <  0.00, 0.00, 15.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 raio = 2.000;

#declare tinta_red =
  texture {
    pigment { color rgb < 1, 0, 0 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare tinta_green =
  texture {
    pigment { color rgb < 0, 1, 0 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }
#declare tinta_blue =
  texture {
    pigment { color rgb < 0, 0, 1 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }



#declare bola1 =
  sphere {
    < -1.20, 1.90, 0.00 >, 3.00
    texture { tinta_blue }
  }
#declare bola2 =
  sphere {
    < 1.20, 1.90, 0.00 >, 3.00
    texture { tinta_blue }
  }
#declare bola3 =
  sphere {
    < 0.00, 0.00, 0.00 >, 3.00
    texture { tinta_blue }
  }
#declare bolinha1 =
  sphere {
    < 0.00, 1.20, 0.00 >, 1.50
    texture { tinta_red }
  }

#declare cilindro =
  cylinder {
    < -3.00, -1.00, 0.00 >,
    < -3.00, -1.00, -1.00 >,
    1.00
    texture { tinta_red }
  }

#declare quad =
  box {
    < 0.00, -16.00, 16.00>,  // Near lower left corner
    < 8.00, 8.00,  0.00>
    texture { tinta_blue }
  }



// Produto Vegetal:

difference {
  
union{
object { bola1 }
object { bola2 }
object { bola3 }
//object { bolinha1 }
}
quad} 
object { bolinha1 } 
//union {
 //   object { cilindro }
 //   object { quad }
   // object { furo2 }
//  }
//}