Banner
{ Deutsch | English }

coolstuff/tictactoe.txt

//usual stuff #include "colors.inc" camera { location <-60,-40,-60> look_at <10,-10,0> } light_source { < 2, 2, 2> White} light_source { < 2, 2,-2> White} light_source { < 2,-2, 2> White} light_source { < 2,-2,-2> White} light_source { <-2, 2, 2> White} light_source { <-2, 2,-2> White} light_source { <-2,-2, 2> White} light_source { <-2,-2,-2> 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} } } union { text { ttf "c:\windows\fonts\verdana.ttf" "X" 0.2, 0 translate <0,0,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "X" 0.2, 0 translate <2.5,0,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "O" 0.2, 0 translate <5,0,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "O" 0.2, 0 translate <0,-2.5,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "X" 0.2, 0 translate <2.5,-2.5,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "O" 0.2, 0 translate <5,-2.5,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "X" 0.2, 0 translate <0,-5,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "O" 0.2, 0 translate <2.5,-5,0> scale 3} text { ttf "c:\windows\fonts\verdana.ttf" "O" 0.2, 0 translate <5,-5,0> scale 3} texture {pigment {color Red} finish {phong 0.5} } scale 3 }