updated extrudes scene, fixed Extrude objects to return backfaces so that boolean objects work properly

git-svn-id: svn://anubis/fart/trunk@280 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2010-07-08 19:01:00 +00:00
1 parent 53ebaeec3e
commit d2b37a1687
4 files changed
+75 -84

No files matched your search

+22 -22
View File
@@ -3,14 +3,15 @@ scene
{
options
{
multisample 3
ambient_occlusion 2
multisample 2
exposure 1.2
}
camera
{
position <0, -10, 10>
look_at <0, 0, 1>
look_at <0, 0, 2>
}
light { position <10, -12, 8> }
@@ -24,30 +25,29 @@ scene
}
}
extrude
subtract
{
polygon
{
<3, 0>
<1, 1>
<2, 3>
<-1, 1>
<-3, 2>
<-2, -1>
<-3, -3>
<-1, -2>
<1, -4>
<1, -1>
}
offset 3
extrude { ngon 5, 6 offset 2 }
extrude { ngon 5, 5 offset 3 translate <0, 0, -0.5> }
material { color <1, 0.7, 0> }
translate <-3, 0, 0>
}
extrude
union
{
ngon 5, 2
offset 1
translate <4, 0, 0>
extrude
{
ngon 6, 2
offset 3 { scale 0.5 position <4, 0> }
offset 3
offset 1 { scale 0 }
}
extrude
{
ngon 6, 2
offset 3 { scale 0.5 position <-4, 0> }
offset 3
offset 1 { scale 0 }
}
material { color <0, 0.9, 0.9> }
}
}