You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use customized grid type with PNanoVDB?
I implement a new type of voxel (which won't fit in a Vec4d), and I want to port it into the Slang shader via PNanoVDB API. But I find that PNanoVDB depends on the pre-defined voxel type, and each grid_type has so many related strides and offsets that are written as compile-time constants (with unclear meaning, since there is no comments in PNanoVDB.h), for example line 1637: pnanovdb_grid_type_constants. Does this mean that PNanoVDB is just a portable version of NanoVDB which only accepts common data structures?
The text was updated successfully, but these errors were encountered:
Is there any way to use customized grid type with PNanoVDB?
I implement a new type of voxel (which won't fit in a Vec4d), and I want to port it into the Slang shader via PNanoVDB API. But I find that PNanoVDB depends on the pre-defined voxel type, and each
grid_type
has so many related strides and offsets that are written as compile-time constants (with unclear meaning, since there is no comments inPNanoVDB.h
), for exampleline 1637: pnanovdb_grid_type_constants
. Does this mean that PNanoVDB is just a portable version of NanoVDB which only accepts common data structures?The text was updated successfully, but these errors were encountered: