Phil Clute wrote:
>
> Well, now I'm a bit confused too...
> what am I doing wrong?
>
> MERGE from the docs:
> "The union operation just glues objects together, it does not remove the
> objects' surfaces inside the union. Under most circumstances this
> doesn't matter. However if a transparent union is used, those interior
> surfaces will be visible. The merge operations can be used to avoid this
> problem. It works just like union but it eliminates the inner
> surfaces..."<snip>
>
> I changed the code a little. I dropped the texture to use a pigment that
> changes
> color from sphere to sphere with a .7 transmit in order to show that
> merge did
> NOT as the docs say "eliminates the inner surfaces".
Your code suffers the same as his in that the merge needs to be specified
outside the while loop before it will be acted upon.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|