Skip to content

Conversation

@Fedr
Copy link
Contributor

@Fedr Fedr commented Oct 21, 2025

In MeshDecimator::canCollapse_

  1. Store new directed areas of only triangles that flip their normal or became not-degenerate from degenerate (and not all triangles as previously).
  2. If at least one remaining triangle flips its normal, checks that new normal is consistent with the average normal of new vertex neighborhood (and do not check triangles that did not flip their normals).

Overall it gives about 5% speed up in decimation.

@Fedr Fedr merged commit 0746c3c into master Oct 21, 2025
23 checks passed
@Fedr Fedr deleted the optimize/decimate-normal-flip branch October 21, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants