POV-Ray : Documentation : 2.4.6.5 Merge
  POV-Ray 3.6 Documentation Online View  
2.4.6.4 Difference   2.4.7 Light Sources

2.4.6.5 Merge

The union operation just glues objects together, it does not remove the objects' surfaces inside the union. Under most circumstances this does not 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 like shown in the figure below.

Merge removes inner surfaces.

The syntax is:

MERGE:
    merge
    {
        SOLID_OBJECTS...
        [OBJECT_MODIFIERS...]
    }

The component objects must have well defined inside/outside properties. Patch objects are not allowed.

Note: that in general merge is slower rendering than union when used with non transparent objects. A small test may be needed to determine what is the optimal solution regarding speed and visual result.

2.4.6.4 Difference   2.4.7 Light Sources


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