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
Mesh Simplification is incomplete after one pass #675
Comments
Yeah, that's probably a good idea for a stand-alone |
This is due to the order in which we perform edge collapses. We currently only do one pass over the list of halfedges in the order in the vector, but collapsing a halfedge with index |
Yeah, agreed. Currently |
Wonder what the black thing in your first photo is. Is this a bug in our boolean impl? And yeah, the lump of triangles not being simplified at the end is also interesting. |
I would guess the black thing is a thin, disconnected mesh that's likely responsible for the genus being 1 low (an extra separate mesh will do that). On a second pass, I'm guessing it got simplified down to nothing. |
Yep; that’s right! This is the same bug that was seen with Offset with the sliver meshes. Simplify can often eliminate them (but not always). |
@elalish It seems like there's room for additional simplification after one pass; perhaps topology should be simplified until no changes are made?
Pass 0:
Pass 1:
Pass 2:
The text was updated successfully, but these errors were encountered: