-
Hello, I've been setting up a function to apply a Poisson sampling across a mesh, and then record all the faces that are within a given geometric distance from each of the Poisson samples. I've got each of those components working individually, but I've run into issues integrating the two. I figure there must be some way to do this easily, as this feels like a pretty common issue to run into, but I haven't been able to find anything in the documentation. Here's a simplified version of the code:
This code runs perfectly fine with a call such as:
To summarize the interesting/problematic behavior:
It seems to me that something about running the Poisson code impacts the mesh layer that the code is applied on, like in desktop Meshlab, but I am not certain how to get around this problem. I would love to hear your thoughts. Thank you very much! Owen |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In case anyone else runs into this problem, I seem to have solved this using the |
Beta Was this translation helpful? Give feedback.
In case anyone else runs into this problem, I seem to have solved this using the
ms.set_current_mesh(0)
function, which I was apparently just using incorrectly before when I tried to use it. I simply dropped it in as the last line on my Poisson sampling code chunk.