|
|
I have the following building model:
merge
{
intersection
{
plane {+x + y,0 translate +y * 3/4}
plane {-x + y,0 translate +y * 3/4}
box {-1,+1}
translate +y
scale 1/2
}
box {<0,0,0,>,<+1/8,+1/1,+1/8,>}
clipped_by
{
box {<-1/8,+0/1,-1,>,<+1/8,+1/4,+1/1,>}
}
hollow
pigment {color rgbt <1,0,0,0>}
}
However, the clipped_by does not seem to be working. Instead of the
clipped part being removed, it is retained and everything else is
removed. Am I using the clipped_by statement wrong? Thanks.
Mike
Post a reply to this message
|
|
|
|
On 9/11/2016 3:26 AM, clipka wrote:
> Am 11.09.2016 um 07:22 schrieb Mike Horvath:
>
>> Am I using the clipped_by statement wrong?
>
> Yup, you are. `clipped_by` is intersection-ish in its mode of operation.
> For a difference-ish operation, use `clipped by { box { ... inverse } }`.
>
Aaaah... okay. Thanks!
Mike
Post a reply to this message
|
|