Jump to content

Solving complex polygon reverse winding


kgoossens

Recommended Posts

Sorry, only half paying attention to this thread too. :) If you figure out a way to break up all the sections of the curve including self intersections in faces, then one idea is to then then test each face to see whether it should be included. For this test, you can take the centroid of the face and then check its winding number with respect to the original curve vertices. (eg. wn_Poly() of http://softsurfer.co...orithm_0103.htm )... Just talking out loud :)

Link to comment
Share on other sites

i am unable to 'totally convince' the Triangulate2d SOP

..

mwehh !!

i cant believe i didnt gave a chance to clothrefine_SOP ..

ironically it lives with the triangulate_SOP on the same submenu ( Cloth )

increasing the Maximum Area a lot far from default value ,

wd speed up things by generating the minimum number of triangles ( a value of 40 or 50 works nice )

anyway , now the shape seems here to obey nicely to the original curve_SOP .

hoping that this solution will work for any shape ..

--

post-5487-132658204376_thumb.png

--

SolvingComplexPolygonz_02.1.hipnc

edit: oops ! the template geometry you are seeing in the picture is from the old triangulate2d_SOP , not from the clothrefine one ..

Edited by zarti
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...