/* -------------------------- Entry: 0027 WWW: Title: MTness Author: two irrecoverable hours ---------------------------*/ #macro sl(s)strlen(s)#end #macro s1(s,j)val(substr(s,j,1))#end #macro s2(s,j)val(substr(s,j,2))#end #macro cc(a,b)concat(a,b)#end #macro mt(s)#local os=""#local i=1;#while(i}finish{diffuse 1}} #declare tr=transform{tr translate -x * .8 #switch(ss)#case(0)rotate 2*x#break#case(1)rotate 2*y#break#else rotate 2*z#end} #declare i = i + 1; #end light_source {<-1000, 1000, 1000>rgb 1 shadowless} light_source {<500, 1000, 1000>rgb 1 shadowless} light_source{<0, 0, 50>rgb .75 shadowless} light_source {<-500, -500, -500>, rgb 1 shadowless} plane{<-500, -500, -550>, 1000 texture{tx scale 200}} camera {location <0, 0, 50> look_at <-500, -500, -500>up y right x*image_width/image_height angle 25}