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
This commit is contained in:
Josh Holtrop committed 2009-03-02 00:41:27 +00:00
1 parent 10500d08aa
commit 56a5fa6166
3 files changed
+50 -106

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
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> }
}
}