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.
How to clip concave polygon use VEX?
1079 0 0- zengchen
- Member
- 77 posts
- Joined: Feb. 2017
- Offline
-
- Quick Links