fixed parser bug with sphere_items, made VFOVNode inherit from NumberNode, updated sample scene infinity.fart, reading scene from a file appears to be working!
git-svn-id: svn://anubis/fart/trunk@175 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
84f6b04cd7
commit
10500d08aa
3 files changed
+19
-13
No files matched your search
+13
-8
@@ -10,21 +10,21 @@ scene
|
||||
|
||||
camera
|
||||
{
|
||||
position <0, -2, 0>
|
||||
position <0, -1.9, 0>
|
||||
look_at <0, 0, 0>
|
||||
up <0, 0, 1>
|
||||
}
|
||||
|
||||
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 }
|
||||
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
|
||||
{
|
||||
radius 1.0
|
||||
radius 0.5
|
||||
material
|
||||
{
|
||||
reflectance 0.2
|
||||
@@ -33,4 +33,9 @@ scene
|
||||
shininess 80
|
||||
}
|
||||
}
|
||||
|
||||
light
|
||||
{
|
||||
position <1, -1, 1>
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user