Jump to content
Sign in to follow this  
ZengChen

How to clip concave polygon use VEX

Recommended Posts

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

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

I have no ability to solve it, could someone help me?

Thanks.

xg3Gf7P.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×