Banner
{ Deutsch | English }

coolstuff/highscore.txt

//usual stuff #include "colors.inc" camera { location <3,3,-3> look_at <0,0,0> } light_source { < 20, 20, 20> White} light_source { < 20, 20,-20> White} /*light_source { < 20,-20, 20> White} light_source { < 20,-20,-20> White} light_source { <-20, 20, 20> White}*/ light_source { <-20, 20,-20> White} light_source { <-20,-20, 20> White} light_source { <-20,-20,-20> White} //the white background #declare bg = union { plane { y, -200} plane { z, 200} plane { x, -200} pigment { color White} } //a coordinate system for a better orientation #declare cood = union { //y cylinder { <0,-5,0> <0,5,0> 0.005 pigment { color Blue} } //x cylinder { <-5,0,0> <5,0,0> 0.005 pigment { color Green} } //z cylinder { <0,0,-5> <0,0,5> 0.005 pigment { color Red} } } #declare js_color = color rgb<0.6, 0.6, 1>; #declare highscore=difference { box {<-1.5,-1,-0.5><1.5,0.8,0.5> pigment {color js_color} } merge { box {<-1.6,0,-0.6><-0.5,1.1,0.6> pigment {color js_color} } box {<.5,-0.1,-0.6><1.6,1.1,0.6> pigment {color js_color} } text { ttf "c:\windows\fonts\verdana.ttf", "1", 0.3, 0 translate <-0.1, 0.5, -1.2> no_shadow scale 0.5 texture { pigment { colour Red } } } text { ttf "c:\windows\fonts\verdana.ttf", "2", 0.3, 0 translate <-2, -1.4, -1.2> no_shadow scale 0.5 texture { pigment { colour Red } } } text { ttf "c:\windows\fonts\verdana.ttf", "3", 0.3, 0 translate <1.6, -1.4, -1.2> no_shadow scale 0.5 texture { pigment { colour Red } } } } } object{highscore} object{bg}