// TP06 - MP006 - Eduardo Kerr // RA800271 // Last edited on 2001-07-30 21:54:39 by stolfi #include "colors.inc" #include "stones.inc" #include "woods.inc" #include "glass.inc" background{ color rgb <0.8, 0.8, 0.8> } light_source { <500, 1500, -1000> 1.5*White } camera { location 0.85*< 0, 5, -20 > look_at <-1,0,0> angle 25 } #if ((clock >= 0.0) & (clock < 0.20)) difference { box { <-4.5, -2, 0.1>, <2.5, 1, 1> texture { T_Orange_Glass } } text { ttf "timrom.ttf" "Povvy" 0.15, 0 pigment { White } finish { reflection 0.25 specular 1} translate -3*x } } #end #if ((clock >= 0.20) & (clock < 0.40)) difference { box { <-4.5, -2, 0.1>, <2.5, 1, 1> texture { T_Orange_Glass } } text { ttf "timrom.ttf" "Povvy" 0.15, 0 pigment { White } finish { reflection 0.25 specular 1} translate -4*x } text { ttf "timrom.ttf" "Sup" 0.15, 0 pigment { White } finish { reflection 0.25 specular 1} translate <-4,-1, 0> } } #end #if ((clock >= 0.40) & (clock < 0.60)) difference { box { <-4.5, -2, 0.1>, <2.5, 1, 1> texture { T_Wood3 } } text { ttf "timrom.ttf" "Povvy" 0.15, 0 pigment { Blue } finish { reflection 0.25 specular 1} translate -4*x } text { ttf "timrom.ttf" "Super" 0.15, 0 pigment { Blue } finish { reflection 0.25 specular 1 } translate <-4,-1, 0> } } #end #if ((clock >= 0.60) & (clock < 0.80)) difference { box { <-4.5, -2, 0.1>, <2.5, 1, 1> texture { T_Wood3 } } text { ttf "timrom.ttf" "Povvy" 0.15, 0 pigment { White } finish { reflection 0.25 specular 1 } translate -4*x } text { ttf "timrom.ttf" "Super" 0.15, 0 pigment { White } finish { reflection 0.25 specular 1} translate <-4,-1, 0> } text { ttf "timrom.ttf" "Vitaminado" 0.15, 0 pigment { White } finish { reflection 0.25 specular 1} translate <-4,-2, 0>} } #end #if ((clock >= 0.8) & (clock < 0.90)) difference { box { <-4.5, -2, 0.1>, <2.5, 1, 1> texture { T_Wood19 } } text { ttf "timrom.ttf" "Povvy" 0.15, 0 pigment { BrightGold } finish { reflection 0.25 specular 1} translate -4*x } text { ttf "timrom.ttf" "Super" 0.15, 0 pigment { BrightGold } finish { reflection 0.25 specular 1} translate <-4, -1, 0> } text { ttf "timrom.ttf" "Vitaminado" 0.15, 0 pigment { BrightGold } finish { reflection 0.25 specular 1} translate <-4, -2, 0>} } #end #if (clock >= 0.9) difference { box { <-4.5, -2, 0.1>, <2.5, 1, 1> texture { T_Stone10 } } text { ttf "timrom.ttf" "Povvy" 0.15, 0 pigment { BrightGold } finish { reflection 0.25 specular 1 } translate -4*x } text { ttf "timrom.ttf" "Super" 0.15, 0 pigment { BrightGold } finish { reflection 0.25 specular 1 } translate <-4, -1, 0> } text { ttf "timrom.ttf" "Vitaminado" 0.15, 0 pigment { BrightGold } finish { reflection 0.25 specular 1 } translate <-4, -2, 0> } } #end plane { <0,1,0>, 0 pigment { checker color rgb < 0.9,0.9,0.9>, color rgb <0.8,0.8,0.9> } scale 0.5 translate -2.1*y }