Set Grid Background Node

Set Grid Background node.

The Set Grid Background node defines the background value for a voxel grid. This value is used when sampling regions of the grid that do not contain any explicitly stored voxels, such as inactive areas or tiles that have not been initialized.

By default, empty voxels in a grid evaluate to zero or another implicit value. This node allows customizing that behavior, which can be useful when constructing grids procedurally or when combining multiple grids.

Đầu Vào (Inputs)

Khung Lưới Đồ Thị (Grid)

The input grid whose background value will be modified.

Nền Sau (Background)

The value to assign to inactive or uninitialized voxels and tiles.

When sampling outside the defined region of the grid, this value will be returned instead of zero.

Update Inactive

Override all values stored for inactive voxels as well.

Tính Chất (Properties)

Kiểu Dữ Liệu (Data Type)

The type of data stored in the grid. Determines the expected type of the Background input and the values the grid can hold (e.g. Float, Integer, Boolean, Vector).

Đầu Ra (Outputs)

Khung Lưới Đồ Thị (Grid)

The resulting grid with the updated background value applied.

This grid can be passed to other nodes such as Sample Grid Index or Sample Grid to ensure consistent results in areas where the grid has no stored voxels.