multiResGrid
carb::volume::GridData* multiResGrid(carb::volume::GridData* gridData, int levels, size_t age, bool keep)
Construct a LoD sequences of VDB trees with powers of two refinements.
Arguments
gridDataThe volume to query.levelsNumber of multi-resolution grids in the output LoD sequence.ageAge (i.e. stack index) of the VDB grid to be processed. Defaults to 0, i.e. most recently inserted VDB.keepToggle whether the input VDB is preserved or deleted after the processing. Defaults to true.
Return
The multi-resolution level set volume created.