Skip to content

OpenVDB can now natively construct tube level sets #18

@ghurstunither

Description

@ghurstunither

Some recently merged tools in the OpenVDB repo that seem relevant to this repo:

tools::createLevelSetDilatedMesh found here.

tools::createLevelSetCapsule, tools::createLevelSetTaperedCapsule, tools::createLevelSetTubeComplex found here.


I wonder if CreateFromCurves could discretize curves like it already does (perhaps more coarsely—e.g., just two points per line segment?), but then call tools::createLevelSetTubeComplex instead of unioning a bunch of spheres at points to approximate a smooth tube.

I think this would

  • Create faster execution time.
    • Unioning overlapping spheres means we're creating a bunch of voxels that are then destroyed when the next sphere is unioned in.
  • Be exact up to the discretization of the curve.
    • You won't get a bumpy tube like you sometimes see right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions