-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Expose 3D Delaunay tetrahedralization in Geometry3D
#83353
Conversation
Makes sense to me, we have this for 2D and this has use cases in 3D (like nice-looking destructible objects). |
2ae1553
to
d601dcc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, haven't tested but if the Delaunay3D
code works then this should work
Just a minor performance detail
2d6ddda
to
bc78c83
Compare
Out of curiosity (and for future reference), was this PR postponed due to there being a feature freeze for the CC @akien-mga |
Yes, exactly |
Thanks! |
Whilst working on a benchmark test for the
godot-benchmarks
suite I have come to the realization that there is no way to accessDelaunay3D
in GDScript (even though the functionality itself is implemented in Godot here - to be used only by theLightmapGI
'sbake
method).If merged, you'll be able to use the method via scripting as
Geometry3D.tetrahedralize_delaunay(points)
.The interface is the same as in other related methods, returning indices into tetrahedralized points.