fart/scenes/subtract-subtract.fart
Josh Holtrop 51c5baf59a updated subtract-subtract.fart and .todo
git-svn-id: svn://anubis/fart/branches/2009-03-09_intersect_returning_normals@201 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-03-09 23:21:23 +00:00

54 lines
792 B
Plaintext

scene
{
options
{
multisample 3
}
camera
{
position <1, -2, 1>
look_at <0, 0, 0>
}
light
{
position <-1, -3, 4>
}
plane
{
position <0, 0, 1>, 1
material
{
color <0, 1, 1>
}
}
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>
}
}
}
}