Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenVDB can now natively construct tube level sets #18

Open
Open
OpenVDB can now natively construct tube level sets#18

Description

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