Replies: 1 comment
-
Updating my question here: What I've figured out so far
My remaining questions:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am looking at the
findFeaturePoint
function which references the Kobbelt (2001) paper on the topic:https://www.openvdb.org/documentation/doxygen/VolumeToMesh_8h.html
Am not quite sure how to incorporate this into my project. Roughly speaking, I am using meshToVolume to generate a voxel grid, doing some custom processing, and then volumeToMesh to reconstruct the surface.
I am uncertain both for:
(a) How to use this API. For example: Do I need to iterate over each grid cell and use the original input triangle mesh to manually search for all the triangles which intersect the grid cell, extract the barycenter (for example, which might be outside the cell region) and the normal, and pass them all into the function? If so is there already a built-in function for identifying triangle-voxel intersections?
(b) Once I have the feature points for each relevant cell, where do I add these extra samples? Do I put them in a second FloatGrid? And do I need to implement the extended Marching Cubes from scratch, or is this already provided somewhere in the library?
I'd appreciate any guidance and especially any example code that could help clarify this. I couldn't find any unit tests for
findFeaturePoint
, but even if there were, it wouldn't necessarily answer the second question.Beta Was this translation helpful? Give feedback.
All reactions