// Last edited on 2001-07-31 08:48:22 by stolfi #include "colors.inc" #include "colors.inc" #include "metals.inc" #include "golds.inc" #include "stones1.inc" #include "textures.inc" background{ color rgb < 1.0, 1.0, 0.0 > } camera { location 1.3*< 0.00, 35.00, 15.00 > //lado right < -0.80, 0.00, 0.00 > up < 0.00, 0.00, 0.60 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } background { color White } light_source{ <7, 35, 23> color 1.2 * White } #declare eixoX = cylinder { < -10, 0, 0 >, < 10, 0, 0 >, 0.03 pigment { Green} } #declare eixoY = cylinder { < 0,-15, 0 >, < 0, 10, 0 >, 0.03 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -5 >, < 0, 0, 5 >, 0.03 pigment { Red } } #declare lata = cylinder { < +0.00, 0.00, +0.00 >, < +0.00, 0.00, +10.00>, 5 pigment { Red } } #if ((clock <= 0.7)) #declare var = 10 * clock * 45; #else #declare var = 360; #end #if ((clock >= 0) & (clock < 0.1 ) ) #declare cor = <1,0,0>; #declare rotulo = text { ttf "arial.ttf" "COCA " 1,0 } #end #if ((clock >= 0.1) & (clock < 0.2 ) ) #declare cor = <0,1,0>; #declare rotulo = text { ttf "arial.ttf" "GUARANA " 1,0 } #end #if ((clock >= 0.2) & (clock < 0.3 ) ) #declare cor = <0,0,1>; #declare rotulo = text { ttf "arial.ttf" "MEL " 1,0 } #end #if ((clock >= 0.3) & (clock < 0.4 ) ) #declare cor = <1,1,1>; #declare rotulo = text { ttf "arial.ttf" "PIMENTA " 1,0 } #end #if ((clock >= 0.4) & (clock < 0.5 ) ) #declare cor = <0,0,0>; #declare rotulo = text { ttf "arial.ttf" "CAFE " 1,0 } #end #if ((clock >= 0.5) & (clock < 0.6 ) ) #declare cor = <1,1,1>; #declare rotulo = text { ttf "arial.ttf" "ACUCAR " 1,0 } #end #if ((clock >= 0.6) & (clock < 0.7 )) #declare cor = <1,0,0>; #declare rotulo = text { ttf "arial.ttf" "TOMATE " 1,0 } #end #if ((clock >= 0.7) & (clock < 0.8) ) #declare cor = <0,0,1>; #declare rotulo = text { ttf "arial.ttf" "ANIL " 1,0 } #end #if ((clock >= 0.8) & (clock <= 1) ) #declare cor = <1,1,0.5>; #declare rotulo = text { ttf "arial.ttf" "POVY RAY SUPER " 1,0 } #end object {lata rotate var * x pigment { color rgb cor } } object {rotulo rotate 90 * x rotate 180 *z translate <7,7,0>} // eixoX // eixoY // eixoZ