NanoVDBMedium class

A medium with density defined by a NanoVDB grid.

Protected variables

Color3f m_sigma_s
scattering coefficient
Color3f m_sigma_a
absorption coefficient
Color3f m_total
total coefficient (absorption+scattering+null)
Transform m_xform
Transformation to place the grid in the scene.
Box3f m_bbox
The bounds, local space.