fart/scenes/subtract-subtract.fart

55 lines
810 B
Plaintext

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