Skip to content

Does fvdb grids support tiles/background values? #426

@jdumas

Description

@jdumas

Hi,

I'm comparing the result of evaluating a VDB grid obtained by converting a mesh to SDF via openvdb::tools::meshToVolume. It seems that the results given by Grid.sample_trilinear() give incorrect values outside of the narrow-band, whereas openvdb::tools::BoxSampler::sample() correctly evaluate the sign and background distance outside of the narrow-band:

fVDB Sampling OpenVDB Sampling
Image Image

I don't see any notion of tile/background data in fVDB's documentation, so I imagine this data is lost when importing a volume from a NanoVDB grid?

Metadata

Metadata

Assignees

No one assigned

    Labels

    core libraryCore fVDB library. i.e. anything in the _Cpp module (C++) or fvdb python moduleexternalFiled by someone outside the fvdb-dev team

    Type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions