Skip to content

[fast-csg] Support for upcoming CGAL remeshing#4107

Closed
ochafik wants to merge 4 commits intoopenscad:masterfrom
ochafik:remesh-support
Closed

[fast-csg] Support for upcoming CGAL remeshing#4107
ochafik wants to merge 4 commits intoopenscad:masterfrom
ochafik:remesh-support

Conversation

@ochafik
Copy link
Contributor

@ochafik ochafik commented Feb 10, 2022

Edit: #4117 (custom remeshing) might be a better option if it graduates

Using CGAL/cgal#5461 (remesh_planar_patches planned for CGAL 5.5) fixes performance issues caused by the worst-case increases of facets during corefinements.

The following files go from astronomically slow w/ fast-csg to 4-5x faster than the baseline:

The fix was originally suggested by @sloriot (author of both corefinement functions & that remesh PR) in #3641 (comment)

Here are instructions to build locally with both this PR and the CGAL one it depends on.

Enable with ENABLE_CGAL_REMESHING

Currently incubated in CGAL/cgal#5461, scheduled for CGAL 5.5
@ochafik ochafik marked this pull request as draft February 10, 2022 17:43
@ochafik ochafik marked this pull request as ready for review February 10, 2022 18:18
@ochafik ochafik closed this Dec 28, 2024
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

Successfully merging this pull request may close these issues.

1 participant