how to evaluate if a point is inside a geometry
6430 5 2- oat
- Member
- 479 posts
- Joined: 12月 2009
- Offline
- sidenimjay
- Member
- 703 posts
- Joined:
- Offline
- oat
- Member
- 479 posts
- Joined: 12月 2009
- Offline
Thank you very much, sidenimjay!
I tried your first method, and it seems it produces strange results sometimes. For example, in the houdini file attached, there are several points which are supposed to be inside the geometry (see image 1) somehow move from their original positions to the outside of the geometry (see image 2).
I haven't figured out the 2nd method you suggested. Appreciate if you can kindly advise!
The method 1 in the houdini file is the method I'm using currently which is not so tidy and clean, and it can't deal with geometry having cantilevered parts above the grid points. Hope you can also advise on how to improve this method.
Thank you, again!
I tried your first method, and it seems it produces strange results sometimes. For example, in the houdini file attached, there are several points which are supposed to be inside the geometry (see image 1) somehow move from their original positions to the outside of the geometry (see image 2).
I haven't figured out the 2nd method you suggested. Appreciate if you can kindly advise!
The method 1 in the houdini file is the method I'm using currently which is not so tidy and clean, and it can't deal with geometry having cantilevered parts above the grid points. Hope you can also advise on how to improve this method.
Thank you, again!
- sidenimjay
- Member
- 703 posts
- Joined:
- Offline
- oat
- Member
- 479 posts
- Joined: 12月 2009
- Offline
- brandaosa
- Member
- 5 posts
- Joined: 10月 2021
- Offline
So if you are late to join the party, there is a node (Group geometry) in the solution by sidenimjay which is depracated since version 16!
Just replace it by Group Expression node and on Group Name and VEXpression set $OS, @inside respectively. Also rename the group node to reflect the output on the blast node
Just replace it by Group Expression node and on Group Name and VEXpression set $OS, @inside respectively. Also rename the group node to reflect the output on the blast node
-
- Quick Links