How to clip concave polygon use VEX?

   906   0   0
User Avatar
Member
77 posts
Joined: Feb. 2017
Offline
Hello!

Recently I need to clip each polygon in different direction, because the compile + foreach is a bit slow, and it will be more slower in a repeat loop block, so I tried to use VEX to clip polygons.

And fortunately I found a VEX code to clip polygon: Clip in VEX [nkvfx.memo.wiki]

But it can only clip the convex polygons, but not work on the concave polygons. See the follow image:


And I have no ability to solve it, could someone help me?
Thanks.
Edited by zengchen - Sept. 3, 2019 20:37:05
My Youtube Channel [www.youtube.com]
  • Quick Links