|
![](/i/fill.gif) |
I can't get the difference function to work. Any ideas?
the code is:
#include "colors.inc"
camera {
location <-3, 10, -50>
look_at <5, 5, 0>
}
background{White}
light_source { <-5, 10, 4> color White }
light_source { <-3, 10, 5> color White }
difference {
box { <0, 0, 0>, <6, 53, 36> }
box { <0, 0, 34>, <6, 51, 36> }
box { <0, 0, -1>, <6, 49, 2> }
box { <0, 0, -1>, <6, 47, 2> }
box { <0, 0, -1>, <6, 45, 2> }
box { <0, 0, -1>, <6, 43, 2> }
box { <0, 0, -1>, <6, 41, 2> }
box { <0, 0, -1>, <6, 39, 2> }
box { <0, 0, -1>, <6, 37, 2> }
box { <0, 0, -1>, <6, 35, 2> }
box { <0, 0, -1>, <6, 33, 2> }
box { <0, 0, -1>, <6, 31, 2> }
box { <0, 0, -1>, <6, 29, 2> }
box { <0, 0, -1>, <6, 27, 2> }
pigment { color Red }
}
Post a reply to this message
|
![](/i/fill.gif) |