Jump to content

Reversing normals with center of a primitive


Recommended Posts

Hey Guys! 

I have those wonderful walls going through a for each loop and some of my normals and faces are reversed at the end.

I was thinking about getting the center of each prim and use a wrangle to reverse the normals but not quite sure how to approach that.

Thanks for the help.

image.thumb.png.06abfc4ed29262286f73423fbd9a889f.png

  

 

Link to comment
Share on other sites

i have bang my head a lot with some shitty mesh coming from C4D. the most effective way i found,  that work more than 95% of the time was to. 

loop each pieces, close them, convert to vdb then compare N with Grad and invert the direction if they are not the same. 

it might work in your case.

 

clean_normal.hiplc

Edited by sebkaine
  • Thanks 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...