Skip to content

MeshDecimate: overcome MultipleEdge for fixing degeneracies#5879

Merged
Fedr merged 20 commits intomasterfrom
fix/decimate-multiple
Apr 3, 2026
Merged

MeshDecimate: overcome MultipleEdge for fixing degeneracies#5879
Fedr merged 20 commits intomasterfrom
fix/decimate-multiple

Conversation

@Fedr
Copy link
Copy Markdown
Contributor

@Fedr Fedr commented Apr 2, 2026

If during decimation edge collapse of a tiny edge (special mode for degeneration fixing) failed because of appearance of multiple edges, test whether left or right triangle contains single 3-degree vertex inside, then collapse it instead ignoring error introduced and other violations (e.g. normal flip).

A test added where new behavior helps resolving many degenerations.

@Fedr Fedr changed the title MeshDecimate: multiple edges MeshDecimate: special treatment of MultipleEdge error Apr 2, 2026
@Fedr Fedr requested a review from Grantim April 2, 2026 11:59
@Fedr Fedr marked this pull request as draft April 2, 2026 19:39
@Fedr Fedr marked this pull request as ready for review April 3, 2026 11:46
@Fedr Fedr changed the title MeshDecimate: special treatment of MultipleEdge error MeshDecimate: overcome MultipleEdge for fixing degenecies Apr 3, 2026
@Fedr Fedr changed the title MeshDecimate: overcome MultipleEdge for fixing degenecies MeshDecimate: overcome MultipleEdge for fixing degeneracies Apr 3, 2026
@Fedr Fedr merged commit a1f1ebd into master Apr 3, 2026
25 of 26 checks passed
@Fedr Fedr deleted the fix/decimate-multiple branch April 3, 2026 12:13
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.

2 participants