hampuseh Posted January 7, 2020 Share Posted January 7, 2020 Greetings! I have a little issue. I have several 2d planes. Some of them are reversed. How would I go about to make them all point towards to same direction? Without manually selecting each primitive and using the reverse sop. Here is the pic: Quote Link to comment Share on other sites More sharing options...
guache Posted January 7, 2020 Share Posted January 7, 2020 (edited) Within a "For Each Primitive" loop, use a Switch SOP that tests the sign of the Y component of the primitive's normal. If it's negative, switch to a Reverse SOP. Edited January 7, 2020 by guache Quote Link to comment Share on other sites More sharing options...
dgani Posted January 7, 2020 Share Posted January 7, 2020 I made a simple .hip to do this. Just use a group node -> by normals and then reverse that group. normals_reversing.hip Quote Link to comment Share on other sites More sharing options...
hampuseh Posted January 8, 2020 Author Share Posted January 8, 2020 I knew there was a simple solution for this, I just couldn't get my head around it! Many thanks 1 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.