// Last edited on 2003-12-14 14:13:30 by stolfi #include "colors.inc" #include "textures.inc" #include "metals.inc" // =========================================================================== // // plant_pot.pov // // (C) Ian Shumsky / OuterArm 1999 // // =========================================================================== // // Scene file for plant_pot.inc // // =========================================================================== #declare ctr = <+00, 105, 20>; #declare camDir = < 000, 020, -450>; camera { location ctr + 0.85*camDir right 0.50*x up 0.50*y sky y look_at ctr } #include "colors.inc" #include "woods.inc" #include "plant_pot.inc" #include "mesa.inc" background { Black } 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*30,2) < 0.5) 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 txtx = texture { pigment{ color White } finish{ ambient 1.0 diffuse 0.0 } } #declare texto = text { ttf "timrom.ttf" "O Espetaculo do Crescimento" 0.1, 0 texture{ txtx } } #declare texto2 = text { ttf "timrom.ttf" "para Dona Maisa" 0.1, 0 texture{ txtx } } #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> } } //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 50*y translate -40*z } #else #end }