Skip to content

Understanding the meshopt_simplify function. #510

Answered by zeux
Zeta48 asked this question in Q&A
Discussion options

You must be logged in to vote

The documentation in README says:

This library provides two simplification algorithms that reduce the number of triangles in the mesh. Given a vertex and an index buffer, they generate a second index buffer that uses existing vertices in the vertex buffer. This index buffer can be used directly for rendering with the original vertex buffer (preferably after vertex cache optimization), or a new compact vertex/index buffer can be generated using meshopt_optimizeVertexFetch that uses the optimal number and order of vertices.

The same note is reflected in the comment above the function definition:

  • If the original vertex data isn't required, creating a compact vertex buffer using meshopt_o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Zeta48
Comment options

Answer selected by zeux
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