I am fairly new to OpenVDB. Apologies in advance if this query sounds trivial.
I want to construct an implicit surface from a set of unorganized data points. I want to know how I can do it using OpenVDB.
The current way I am doing it is as follows: (here)
- Compute distance function on a rectangular grid to an arbitrary data set.
- Find an initial surface for the gradient flow algorithm
- Solve the time dependent PDE for the level set function
I want to mention that I am just using a simple regular grid for the above three steps.
The example on creating and writing a grid from the code examples is very similar to what I want except that I want to replace the sphere's level set with a level set from the point cloud.
Is there a way that I can build a level set from utilities in the tools
namespace to construct a level set from a point cloud? I see ParticlesToLevelSet as something similar to what I want to do. Can somebody kindly share an example?