Replies: 1 comment
-
|
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
-
It is a bit unexpected to realize that
libigl
seems does not have a sampling function for 3D volume.Similar to this one:
https://mfxvtk.readthedocs.io/en/latest/effects/sample-points-volume.html
I can naively get the bounding box and make a regular grid and test in/out with the given watertight mesh, but I'm sure there are more efficient algorithms.
Or I can make tets of the mesh and use the centroid of each tet?
Isn't it something that is often used in geometry processing? Would it be possible to add one from the developer side?
@alecjacobson
Beta Was this translation helpful? Give feedback.
All reactions