{ Navigation } | { Deutsch | English } | |||
NewsGamesMinesweeperMastermindSliding Tiles PuzzleMemoryTic Tac ToeTetrisSokobanSnakePacmanOthelloSameGameRoadBlocksLights OutHighscoresCool StuffTeamTeam - MiselTeam - LXJS-Games FAQGuestbookDisclaimer |
coolstuff/memory.txt//usual stuff
#include "colors.inc"
camera { location <-10,-10,-15>
look_at <0,0,0> }
//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}
}
}
light_source { < 20, 20, 40> Gray50}
light_source {
<4, 4, 4>
color Gray50
shadowless
}
light_source {
<-4, 4, 4>
color Gray50
shadowless
}
light_source {
<4, -4, 4>
color Gray50
shadowless
}
light_source {
<-4, -4, 4>
color Gray50
shadowless
}
light_source {
<4, 4, -4>
color Gray50
shadowless
}
light_source {
<4, -4, -4>
color White
shadowless
}
light_source {
<-4, -4, -4>
color White
shadowless
}
#declare field = difference
{
box { <-2,-2,-1>
< 2, 2,-1.5>
}
union
{
box { <-2.1,-1,-sqrt(8)-0.5>
< 2.1, 1,-sqrt(8)+0.5>
rotate <45,0,0>
}
box { <-2.1,-1,-sqrt(8)-0.5>
< 2.1, 1,-sqrt(8)+0.5>
rotate <-45,0,0>
}
box { <-1,-2.1,-sqrt(8)-0.5>
< 1, 2.1,-sqrt(8)+0.5>
rotate <0,45,0>
}
box { <-1,-2.1,-sqrt(8)-0.5>
< 1, 2.1,-sqrt(8)+0.5>
rotate <0,-45,0>
}
texture { pigment { rgb <0.9,0.9,0.9> }
finish {phong 0.5 }
}
}
texture { pigment { rgb <0.9,0.9,0.9> }
finish {reflection 0.1}
}
translate <0,0,1>
}
object { field translate <-4,-4,0>}
object { field translate <-4, 0,0>}
object { field translate <-4, 4,0>}
object { field translate < 0,-4,0>}
object { field translate < 0, 0,0>}
object { field translate < 0, 4,0>}
object { field translate < 4,-4,0>}
object { field translate < 4, 0,0>}
object { field translate < 4, 4,0>}
text { ttf "c:\windows\fonts\verdana.ttf" "?" 0.2, 0
texture {pigment {color Red}
finish {phong 0.5}
}
scale 3
translate <3.5,-1,-1.25>
}
text { ttf "c:\windows\fonts\verdana.ttf" "?" 0.2, 0
texture {pigment {color Red}
finish {phong 0.5}
}
scale 3
translate <-4.5,-5,-1.25>
}
|
|||