Skip to content
Discussion options

You must be logged in to vote

This is documented at the end of https://meshoptimizer.org/#advanced-simplification. Briefly, you could simplify each subset (element) separately, but that is not quite ideal because the boundaries between elements will either need to be locked, or they will be simplified differently which may leave gaps. You can instead make a big index buffer out of all triangles and simplify the entire index buffer in one call; for you to be able to retrieve the materials again, you need to make sure each unique vertex index has only material - which may require duplicating vertices depending on whether this is already the case or not. As long as different elements refer to different vertices, if the v…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@754978334
Comment options

@zeux
Comment options

zeux Sep 4, 2025
Maintainer

@754978334
Comment options

Answer selected by 754978334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants