Openvdb closest point query #1622
Replies: 3 comments
-
If the grid that you have is a level-set/Signed Distance Function (SDF), you can compute the normal corresponding to the SDF and store it in as, say, a Vec3S grid. The closest point in the surface is given by the |
Beta Was this translation helpful? Give feedback.
-
how to compute the normal corresponding to the sdf? |
Beta Was this translation helpful? Give feedback.
-
This the normal of an SDF is the negative gradient of its values e.g. https://shaderfun.com/2018/07/23/signed-distance-fields-part-8-gradients-bevels-and-noise/ |
Beta Was this translation helpful? Give feedback.
-
If I have an openvdb grid, can I do closest point query ?(calculate the closest point in the 0 isosurface of a random point in the narrow band level set )
Beta Was this translation helpful? Give feedback.
All reactions