Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: does it support holes? #8

Closed
jhm-ciberman opened this issue Nov 15, 2020 · 2 comments
Closed

Q: does it support holes? #8

jhm-ciberman opened this issue Nov 15, 2020 · 2 comments

Comments

@jhm-ciberman
Copy link

jhm-ciberman commented Nov 15, 2020

I am developing a procedurally generated mesh for a house wall with a window in Unity.
I have a set of convex coplanar points (the window outline) and I want to carve a hole in a 3D flat rectangle (the wall). The hard part is the triangulation of course. Does this library support holes?

Edit: maybe I am bad at reading the documentation, but it seems it does not support holes. Maybe is there an easy way to add this feature?

@nol1fe
Copy link
Owner

nol1fe commented Nov 16, 2020

Hello @jhm-ciberman,
Unfortunately Delaunator does not support boolean operations, holes, constraints or conforms.

Visit this thread, maybe you'll find something usefull over there.

By the way, if you are into procedural generation, give Houdini from SideFX a try. It's really great piece of software.

Cheers

@jhm-ciberman
Copy link
Author

Hi @nol1fe
Thank you for your answer. I spent yesterday reading about Delaunay triangulation and constrained triangulation, and now I understand the difference. I think I will use https://github.com/SebLague/Ear-Clipping-Triangulation for my project. Thanks anyway for your time!

@nol1fe nol1fe added question Further information is requested and removed question Further information is requested labels Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants