Skip to content
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

[Feature Request] Improve Automesh Algorithm to Reduce Empty Triangles. #452

Open
2 tasks done
Richardn2002 opened this issue Sep 29, 2024 · 1 comment
Open
2 tasks done
Labels
Enhancement New feature or request Triage PR/Issue needs to be triaged.

Comments

@Richardn2002
Copy link
Contributor

Validations

  • I have checked for similar feature requests and could not find any.
  • I have made sure this is not an already-existing feature.

Description

Current automesh algorithm will generate triangles covering no texture (from the human eye perspective), which will usually be erased by riggers immediately after generation. These triangles should be prevented.

Suggested solution

Quoting Luna's comment

Delaunay Refinement + a possible second pass doing texture lookups to remove "dead" vertices at a set distance from textured areas.

Alternative solution

No response

Additional Context

Mentioned by both ChaKun and Luna in #449 .

@Richardn2002 Richardn2002 added Enhancement New feature or request Triage PR/Issue needs to be triaged. labels Sep 29, 2024
@Richardn2002
Copy link
Contributor Author

Seems like the contour automesh algorithm is good at determining mesh vertices given a texture, but the autoTriangulate() method from IncMesh is reused after vertices are picked to generate the mesh as the last step, throwing away all the texture info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Triage PR/Issue needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant