#version 3.5; #include "colors.inc" global_settings { max_trace_level 20 ambient_light 1 } default { texture { finish { ambient 0.5 } } } // ---------------------------------------- camera { location <0.0, 1.5, -5.0> direction 1.5*z right 4/3*x look_at <0.0, 0.0, 0.0> } sky_sphere { pigment { gradient y color_map { [0.0 color blue 0.6] [1.0 color rgb 1] } } } light_source { 0*x // light's position (translated below) color red 1.0 green 1.0 blue 1.0 // light's color translate <-1000, 3000, -1000> } // ---------------------------------------- plane { y, -1.2 texture { pigment { color rgb 1 } finish {reflection 0.1 roughness 0.6} } } #declare textur=texture {pigment {radial frequency 8} finish{specular 1}} #declare tex= #switch(clock) #range(2,3) "height_field" height_field { png "read1.png" scale 2 translate -1 rotate 90*y #break #range(1,2) "box" box { -1,1 #break #end texture {textur} } text { ttf "arial.ttf" tex 0.01,0 no_shadow scale 1/7 texture {pigment {color rgb <1,0.05,0.2>}} translate <-1.5,1.4,-1.1> } box { <-20,1,0>,<3,-1,0> no_shadow translate 4*z rotate -30*y texture { pigment { color rgb <0.1,0.9,0.5> } finish { reflection 0.65 diffuse 0.05 ambient 0.05 metallic}} } #debug concat("\n",str(clock,4,4)," ",tex,"\n\n")