Skip to content

Conversation

awkrupka
Copy link

Most index remapping functions from indexgenerator.cpp operate on bitwise equality of vertices and perform remap index-by-index without assumptions about mesh primitives. Since we were using these functions for optimizing line-primitive meshes for the STEP file importer I have removed index_count % 3 ==0 assertions for relevant remapping functions (ones without assumption about buffer topology, so functions like meshopt_generateAdjacencyIndexBuffer still have that assertion) which makes them automatically work for removing duplicate geometry for other mesh topologies.

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