{ Navigation } | { Deutsch | English } | |||
NewsGamesMinesweeperMastermindSliding Tiles PuzzleMemoryTic Tac ToeTetrisSokobanSnakePacmanOthelloSameGameRoadBlocksLights OutHighscoresCool StuffTeamTeam - MiselTeam - LXJS-Games FAQGuestbookDisclaimer |
coolstuff/slide.txt//usual stuff
#include "colors.inc"
camera { location <3,6,-6>
look_at <0,0,5> }
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}
}
}
#declare arrow = union {
cylinder {<-3,0,0> <0,0,0>, 0.33}
cone {<0,0,0>,1 <2,0,0>,0}
}
union{
object { arrow translate <5,0,5>}
object { arrow translate <0,0,0> rotate y*90}
texture {
pigment{color Red}
finish {phong 0.5}
}
}
box { <-1,-1,4>
<1,1,6>
texture {
pigment{color Blue}
finish {phong 0.3}
}
}
|
|||