Previous:CSG Difference Main Index Next:CSG Pitfalls

### CSG Merge

This brings us to the fourth kind of CSG object, the `merge`. Merges are the same as unions, but the geometry of the objects in the CSG that is inside the merge is not traced. This should eliminate the problem with our object. Let's try it.

      merge {

        object { Lens_With_Hole translate <-.65, .65, 0> }

        object { Lens_With_Hole translate <.65, .65, 0> }

        object { Lens_With_Hole translate <-.65, -.65, 0> }

        object { Lens_With_Hole translate <.65, -.65, 0> }

        pigment { Red filter .5 }

      }

Sure enough, it does!

Previous:CSG Difference Main Index Next:CSG Pitfalls