Jump to content

Polygon points of CSG union


TimT77
 Share

Recommended Posts

Hi all!

 

Is there a possibility to get the polygon points of a mesh as a result of CSG union?

I prepared a playground: https://www.babylonjs-playground.com/#PS63MV#1

There i have 2 polygons (PolygonMeshBuilder) and a final mesh as the union (CSG) of the initial polygons.
Is there a way to get the outer points/vertices of the union CSG (green) in correct order, so that i have an array of points to create the same polygon (like the green one) with the PolygonMeshBuilder ?

Thanks in advance!

Kind regards,
Tim

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...