fart/scenes/extrudes.fart
Josh Holtrop 9bed134733 sorting Extrude intersection results, still buggy intersect() though
git-svn-id: svn://anubis/fart/trunk@274 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2010-07-02 18:38:11 +00:00

54 lines
751 B
Plaintext

scene
{
options
{
multisample 3
exposure 1.2
}
camera
{
position <0, -10, 10>
look_at <0, 0, 1>
}
light { position <10, -12, 8> }
plane
{
position <0, 0, 1>, 0
material
{
color <0, 0.5, 0.1>
}
}
extrude
{
polygon
{
<3, 0>
<1, 1>
<2, 3>
<-1, 1>
<-3, 2>
<-2, -1>
<-3, -3>
<-1, -2>
<1, -4>
<2, -1>
}
offset 3
material { color <1, 0.7, 0> }
translate <-2, 0, 0>
}
extrude
{
ngon 5, 2
offset 1
translate <2, 0, 0>
}
}