sorting Extrude intersection results, still buggy intersect() though
git-svn-id: svn://anubis/fart/trunk@274 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
0b36fa79a0
commit
9bed134733
2 files changed
+81
-11
No files matched your search
@@ -0,0 +1,53 @@
|
||||
|
||||
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>
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user