added scenes/subtract-subtract.fart (illustrating bug) and updated .todo

git-svn-id: svn://anubis/fart/trunk@197 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-03-09 15:12:54 +00:00
parent 88444e25b8
commit 5a4bee840d
2 changed files with 47 additions and 1 deletions

4
.todo
View File

@ -1,3 +1,5 @@
FART To-Do List
===============
- Test subtractions of subtractions
- Fix subtractions of subtractions (inverting normals problem)
- Shape definitions / reusability
- Add distribution infrastructure

View File

@ -0,0 +1,44 @@
scene
{
options
{
multisample 2
}
camera
{
position <1, -2, 1>
look_at <0, 0, 0>
}
light
{
position <-1, -3, 4>
}
subtract
{
box
{
size <1, 1, 1>
material { color <0.2, 0.2, 1> }
}
subtract
{
sphere
{
radius 0.4
material { color <1, 0, 0> }
translate <0, -0.5, 0>
}
box
{
size <1, 1, 0.2>
material { color <0, 1, 0> }
translate <0, -0.5, 0>
}
}
}
}