Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

vdbparticles

This node represents particles defined by OpenVDB data. It has the following attributes:

NameTypeDefault
vdbfilenamestring

The path to an OpenVDB file with the particle data.

NameTypeDefault
pointsgridstring

The name of the OpenVDB grid to use for particle data. It must be of type PointDataGrid.

NameTypeDefault
velocityreferencetimedouble

The reference time at which the grid data is used directly, without being moved by the velocity attribute. Defaults to the global node’s referencetime attribute.

NameTypeDefault
velocityscaledouble1

A scaling factor applied to the velocity data.

NameTypeDefault
enablepscaleint1

Enables use of the pscale attribute in the grid to specify particle radius.

NameTypeDefault
widthdouble1

The width of particles, if there is no pscale attribute in the file to specify their radius or it is disabled by setting enablepscale to 0.

NameTypeDefault
widthscaledouble1

A scaling factor applied to particle width.

The P, v and pscale grid attributes are used to respectively define particle position, velocity and radius. Other grid attributes may be read by shaders.