Skip to main content

About this Block

What it does: The Smoothen Voxel Grid block uses a variety of smoothing algorithms, specified in the Filter input, to smooth out sharp features in a Voxel Grid. Common uses:
  • Smoothen out sharp features in a Voxel Grid.
Tips
  • The iterations input contributes to the overall smoothness and computation time, and controls the number of times that the smoothing algorithm is applied to the input Voxel Grid.
  • The Width input refers to the range neighboring Voxels that contribute to the smoothing.
  • A larger Width will result in a smoother output geometry, but will also remove small features that are smaller than the filter Width.
  • The different smoothing algorithms are:
    • MeanCurvature: Moves the surface in a normal direction by an amount equal to the mean curvature
    • Laplacian: Applies Laplacian flow, This applies a weighted average of the voxel and its neighbors.
    • Dilate: Moves the surface outward by the amount specified.
    • Gaussian: Applies a gaussian flow, a weighted average of the voxel and its neighbors where a Gaussian determines the weights.
    • Median/Mean: Median/Mean flow. This is an averaging procedure where voxel values are replaced by the median/mean of a neighborhood.
    • Eikonal: Re-distances the voxel grid so that the result is an SDF.
Apply a filtering function to smoothen a voxel grid.

Inputs

NameTypeDescription
GridVoxel GridThe voxel grid to smoothen.
FilterVoxel Grid Filter EnumThe smoothening method to use.
IterationsIntegerThe number of filter iterations to apply.
WidthIntegerThe width of the filter kernel in voxel units. this value is only used for the gaussian, median, and mean techniques.

Outputs