|
![](/i/fill.gif) |
I don't recall merge ever acting this way before. I'm getting a reverse
intersection clipping with the following:
#include "colors.inc"
camera {
location <-2.5,6.5,4.1>
look_at <-3.05,6,4.5>
}
light_source {
<50,50,-10>
color White
}
//union {
merge {
box {
<0,0,4.25>, <.25,6,4.5>
}
box {
<0,5.75,0>, <.25,6,4.5>
}
//}
cylinder {
<0,5.9,4.375>, <6.5,5.9,4.375>, .06
}
translate <-3.25,0,0>
pigment {
color Blue
}
}
In the source above, the objects are clipped where they meet.
Comment out the 'merge' line and uncomment the 'union', and it appears as
I would expect--two blocks with a cylinder coming out of them.
Uncomment everything, so that the blocks are in a merge but the cylinder
is in a union, and the blocks get clipped where they meet, with the
cylinder appearing in the space inside.
I put an example up at http://cerebus.acusd.edu/merge/ . I'm getting this
in both the official compile for Macintosh (3.1g.r1) and the unofficial
compile (November 17, 1999).
Is this right?
Jerry
Post a reply to this message
|
![](/i/fill.gif) |