#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
// ===========================================================================
//
// plant_pot.pov
//
// (C) Ian Shumsky / OuterArm 1999
//
// ===========================================================================
//
// Scene file for plant_pot.inc
//
// ===========================================================================

#include "colors.inc"
#include "woods.inc"
#include "plant_pot.inc"
#include "mesa.inc"

background
{
	Black
}

camera
{
	location <-0, 125, -430>
	look_at <+00, 105, 20>
	angle 25
}

light_source
{
	<0, 1000, -10>
	colour White
}

light_source
{
	<0, 500, -500>
	colour White
}


#declare vaso =
object
{
	empty_plant_pot
	translate <0, 0, 0>
}

background { color Black }
 
 
#declare bolas = 

blob {
    threshold .75
    #if (mod(clock*100,2)=0)
    sphere { <.8,0.1,0>, 1.3, 1 pigment {Red} }
    sphere { <-.8,-0.10,0>,1.3, 1 pigment {Brown} }
    #else
    sphere { <.8,-0.1,0>, 1.3, 1 pigment {Red} }
    sphere { <-.8,0.1,0>,1.3, 1 pigment {Brown} }
    #end
    #if (clock<0.3) 
    cylinder{<0,0.5,0>, <0,1,0>, 0.5, 1.1  pigment {Green}}    //lower pinky
    cylinder{<0,1,0>, <0,1.2,0>, 0.6, 1 pigment {Green}}    //lower pinky
    sphere { <0,1.2,0>,0.7, 1 pigment {Pink} }
    finish { phong 1 }
    #else	
    cylinder{<0,0.5,0>, <0,1+(clock*5),0>, 0.5, 1.1+clock*2 pigment {Green}}    //lower pinky
    cylinder{<0,1,0>, <0,1.2+(clock*5),0>, 0.6, 1+clock*2 pigment {Green}}    //lower pinky
    sphere { <0,1.2+(clock*5),0>,0.7*clock*2, 1 pigment {Green} }
    finish { phong 1 }
    #end
}
#declare texto =
  text {
    ttf "timrom.ttf" "O Espetaculo do Crescimento" 0.5, 0
    pigment { White }
  }
#declare texto2 =
  text {
    ttf "timrom.ttf" "para Dona Maisa" 0.5, 0
    pigment { White }
  }  

#declare parede =
  box {<-560,0,-3><+560,800,-3.5> pigment {White}}


#declare imgname = "lulaemaisa.jpeg";

#declare logo =  
object {
  
  box {<0,0,-3><14,14,-3.5>}
  pigment {
              image_map{jpeg imgname }
	   
              scale<14,14,14> 
            //  translate<0,-1.4,0> 
	    
               }
	       //translate<105,20,0> 
        }        


//cena
union {
object{logo translate <-7,20,349> scale <6,6,1>}
union {
	object {bolas  scale <8,8,8> translate 90*y}
	object {vaso translate 70*y}
	
	}
object {TableCompl}
object {parede translate <0,0,350> }
#if (clock=1) 
union {
object{texto scale <10,10,10> }
object{texto2 scale <10,10,10> translate -10*y translate 35*x}
translate -70*x translate 80*y translate -40*z
//rotate 20*x
//translate -30*z
}


#else
#end


}