Shalinar Posted October 30, 2016 Share Posted October 30, 2016 Hi everyone, I'm trying to find all the points on a piece of geo whose normals all point within a certain ratio of another geo's... so basically find all the points of one geo that are "facing" another. The attached file is what I've worked out, but there has GOT to be a better way than that. It's so slow, and I disabled the AttributeVOP that's doing all the work just so it will load for you. What I'm trying to do is loop over all the points in geo A, and for each point in A, compare its normal to the normal of every point in geo B. If the point's maximum "match" goes beyond a certain threshold, then delete that point. I'm pretty sure this is a horrible way to set this up, but I really haven't come up with anything better. Does anyone have any tips for solving this issue? Thanks, Chris facing_ratio_test.hipnc Quote Link to comment Share on other sites More sharing options...
f1480187 Posted October 30, 2016 Share Posted October 30, 2016 How about Ray SOP? backface_cull.hipnc Quote Link to comment Share on other sites More sharing options...
Shalinar Posted October 30, 2016 Author Share Posted October 30, 2016 13 hours ago, f1480187 said: How about Ray SOP? backface_cull.hipnc I do believe that will work! Thanks, I'll test it out in my full setup. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.