Thanks for some clarifying info. I have a question: Can we check in a wrangle the direction this ‘Winding’ normal’ is facing? As we do with if(v@N.z > 0.5){ I need to check the direction because I have many separate polygons, which are not connected as an ‘manifold island’, do the PolyDoctor is of no help there it seems.
I'm not sure if it can be done with a couple of lines in a wrangle, but one way is to extract the centroid of each prim as a point, push this point along the primitive normal a small amount and then use the winding number sop to test the polygon winding. Points with a winding attribute value of less than 0 belong to the reversed primitives. Hope this helps.
Thank you, man! Finally, I understand how it works!
Thanks for some clarifying info. I have a question: Can we check in a wrangle the direction this ‘Winding’ normal’ is facing?
As we do with if(v@N.z > 0.5){
I need to check the direction because I have many separate polygons, which are not connected as an ‘manifold island’, do the PolyDoctor is of no help there it seems.
I'm not sure if it can be done with a couple of lines in a wrangle, but one way is to extract the centroid of each prim as a point, push this point along the primitive normal a small amount and then use the winding number sop to test the polygon winding. Points with a winding attribute value of less than 0 belong to the reversed primitives. Hope this helps.
Well explained fundamental knowledge!
Very useful !
Thanks