added Scene::processNode() and Scene::processChildren()

git-svn-id: svn://anubis/fart/trunk@126 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-02-18 01:10:57 +00:00
1 parent 30932d00e9
commit b9cc1fe9f9
5 files changed
+52 -13

No files matched your search

+9 -10
View File
@@ -1,6 +1,4 @@
#define mirror material { reflectance 1.0 }
scene
{
options
@@ -14,15 +12,15 @@ scene
{
position <0, -2, 0>
look_at <0, 0, 0>
up <0, 0, 1>;
up <0, 0, 1>
}
plane { position <1, 0, 0>, -2 mirror }
plane { position <-1, 0, 0>, -2 mirror }
plane { position <0, 1, 0>, -2 mirror }
plane { position <0, -1, 0>, -2 mirror }
plane { position <0, 0, 1>, -2 mirror }
plane { position <0, 0, -1>, -2 mirror }
plane { position <1, 0, 0>, -2 }
plane { position <-1, 0, 0>, -2 }
plane { position <0, 1, 0>, -2 }
plane { position <0, -1, 0>, -2 }
plane { position <0, 0, 1>, -2 }
plane { position <0, 0, -1>, -2 }
sphere
{
@@ -30,7 +28,8 @@ scene
material
{
reflectance 0.2
color <0.5, 0.5, 0.5>
ambient <0.5, 0.5, 0.5>
diffuse <0.5, 0.5, 0.5>
shininess 80
}
}