Skip to content

Use IGL's fast winding number, and control IGL threading#88

Merged
MariusCausemann merged 4 commits into
wildmeshing:masterfrom
MariusCausemann:igl_fast_winding
Nov 13, 2025
Merged

Use IGL's fast winding number, and control IGL threading#88
MariusCausemann merged 4 commits into
wildmeshing:masterfrom
MariusCausemann:igl_fast_winding

Conversation

@MariusCausemann
Copy link
Copy Markdown
Collaborator

IGL has a wrapper for the fast winding number for soups, so we can use that instead of our own.

Additionally IGL has it's own threading, which is somewhat buggy, and can cause oversubscription and segfaults, see libigl/libigl#2412.

This PR sets the number of IGL threads to the square root of the specified number of threads, avoiding oversubscription due to nested parallel_for in igl::fast_winding_number.

@MariusCausemann MariusCausemann merged commit d7d99bb into wildmeshing:master Nov 13, 2025
13 checks passed
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