Houdini 21.0 Nodes Copernicus nodes

VDB Activate from Points Copernicus node

Activates leaves on a VDB according to a point cloud.

On this page
Since 21.0

This node takes multiple geometry inputs and will activate leaves containing those points. The reference VDB is used to determine the original size and origin.

The P point attribute is used for the world coordinate to use for activation. An optional integer invalid attribute will, if it is non-zero, cause the point to be ignored for activation. An optional integer dilation attribute contains packed hints of how many additional leaves to dilate away from the point. Five bits are used to store the dilation in each of the six directions, in the order -x, -y, -z, +x, +y, +z measuring from MSB to LSB. Bits 30 and 31 are zero.

Parameters

Leaf Dilation

Expand the active region a fixed number of leaves.

The maximum of Leaf Dilation Dist and Leaf Dilation are used.

Leaf Dilation Dist

Expand the active region a fixed distance in world space; this is raised to the nearest leaf.

The maximum of Leaf Dilation Dist and Leaf Dilation are used.

Voxel Scale

Scale the reference VDB’s voxel size by this, allowing for the creation of a higher or lower resolution VDB.

Sort Leaves

The order of the leaves is normally non-deterministic, which does not matter if the VDB is accessed spatially. Sorting the leaves can ensure the leaves will always process in the same order if an algorithm depends on this, at the cost of extra time.

Clip Min X

Deactivate any leaves with world positions less than this in X.

Clip Min Y

Deactivate any leaves with world positions less than this in Y.

Clip Min Z

Deactivate any leaves with world positions less than this in Z.

Clip Max X

Deactivate any leaves with world positions greater than this in X.

Clip Max Y

Deactivate any leaves with world positions greater than this in Y.

Clip Max Z

Deactivate any leaves with world positions greater than this in Z.

Inputs

refvdb

A reference VDB whose origin and voxelsize will be used as starting points.

activate_pts1

A series of Geometry inputs whose points will activate any leaf that they are in.

Outputs

floatvdb

A representative float VDB with leaves activated by the rules.

vectorvdb

A representative vector VDB with leaves activated by the rules.

See also

Copernicus nodes