fart/scenes/cyls.fart
Josh Holtrop 56a5fa6166 added cyls.fart sample scene, removed hard-coded scene from Scene-load.cc; reading from a file is working!
git-svn-id: svn://anubis/fart/trunk@176 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-03-02 00:41:27 +00:00

50 lines
1009 B
Plaintext

scene
{
options
{
width 800
height 600
multisample 3
}
camera
{
position <1.5, -1, 2.5>
look_at <0, 0, 2>
up <0, 0, 1>
}
light
{
position <3, -8, 5>
}
plane
{
position <0, 0, 1>, 0
material
{
color <0.4, 0.9, 0.9>
}
}
translate <0, 0, 2>
{
box
{
size <0.4, 0.4, 0.4>
material
{
color <1.0, 0.6, 0>
}
}
cyl { size <0.2, 0, 0.3> translate <0, 0, 0.3> }
cyl { size <0.2, 0, 0.3> rotate 90, <1, 0, 0> translate <0, 0, 0.3> }
cyl { size <0.2, 0, 0.3> rotate -90, <1, 0, 0> translate <0, 0, 0.3> }
cyl { size <0.2, 0, 0.3> rotate 180, <1, 0, 0> translate <0, 0, 0.3> }
cyl { size <0.2, 0, 0.3> rotate 90, <0, 1, 0> translate <0, 0, 0.3> }
cyl { size <0.2, 0, 0.3> rotate -90, <0, 1, 0> translate <0, 0, 0.3> }
}
}