POV-Ray : Documentation : 1.2.3.5 CSG Merge
  POV-Ray 3.6 Documentation Online View  
1.2.3.4 CSG Difference   1.2.3.6 CSG Pitfalls

1.2.3.5 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!

1.2.3.4 CSG Difference   1.2.3.6 CSG Pitfalls


Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.