{ Navigation } | { Deutsch | English } | |||
NeuigkeitenSpieleMinesweeperMastermindSchiebepuzzleMemoryTic Tac ToeTetrisSokobanSnakePacmanOthelloSameGameRoadBlocksLichter ausHighscoresCool StuffTeamTeam - MiselTeam - LXJS-Games FAQGästebuchRechtliches |
coolstuff/download.txt//usual stuff
#include "colors.inc"
camera { location <4,4,-4>
look_at <0,0,0> }
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}
}
}
#declare packet = box
{
<-1,-1,-1> <1,0.5,2>
texture {pigment { rgb <0.9,0.7,0>}}
}
#declare band = union {
box { <-0.1, -1.01, -1.01> <0.1 ,0.51, 2.01>
}
box { <-1.01, -1.01, -0.1> <1.01 ,0.51, 0.1>
}
texture {pigment { color White}
}
}
#declare address = union
{
union
{
box { <0.33, 0.5, 1.3> <0.34 ,0.51, 1.7> }
box { <0.42, 0.5, 1.3> <0.43 ,0.51, 1.7> }
box { < 0.5, 0.5, 1.3> <0.51 ,0.51, 1.7> }
box { <0.67, 0.5, 1.3> <0.68 ,0.51, 1.7> }
texture { pigment { color Black}}
}
box { <0.25, 0.5, 1> <0.75 ,0.501, 2>
texture {pigment { color White}}
}
}
object {packet}
object {band}
object {address translate <0,0,-0.5>}
|
|||