Grid Topology Boolean Node

Grid Topology Boolean node.

The Grid Topology Boolean node combines the topology of active voxels and tiles of two or more grids. The result is a grid with active voxels where at least one input grid has an active voxel, depending on the operation.

The boolean combination happens in index space. All input grids should have the same grid transform, otherwise the node will show a warning.

Conceptually this node is similar to the SDF Grid Boolean node. Unlike the SDF node it only takes active voxel state into account instead of signed distance values.

Входы (inputs)

Grid 1

The first input grid for boolean combination. The output grid uses voxel values of this grid, or its background value.

Grid 2

The secondary input grids that are combined with Grid 1.

Свойства (properties)

Тип данных (data type)

The data type stored in the grid (e.g. Float, Integer, Boolean, Vector). This determines the type of the Grid output.

Операция (operation)

The boolean operation to perform between the input grids:

Пересечение (intersection):

Creates active voxels where all input grids have active voxels. The voxel value is the value of the first input grid.

Объединение (union):

Creates active voxels where any input grid has an active voxel. The voxel value is the value of the first input grid, or its background value if the voxel is inactive in the first input grid.

Разница (difference):

Creates active voxel where the first input grid is active but none of the secondary input grids are active. The voxel value is the value of the first input grid.

Выходы (outputs)

Сетка (grid)

The resulting grid after the boolean operation is applied. The grid values are the same as in the first input grid, using the background value for any newly added voxels in Union mode.