Skip to content

Use in Blender? #289

Answered by zeux
joeedh asked this question in Q&A
May 13, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Yeah unindexed rendering is pretty inefficient for modern GPUs. If the adjustment is not very frequent (that is, if you don't need to rebuild these buffers every frame), meshopt could be used to make these more efficient to render by using it as a postprocess.

For example, a reasonable and cheap sequence of steps would be:

  1. meshopt_generateVertexRemap, meshopt_remapIndexBuffer and meshopt_remapVertexBuffer to generate hardware-ready vertex/index buffers
  2. meshopt_optimizeVertexCacheFifo with cache_size=16 to optimize the index buffer for hardware render efficiency
  3. meshopt_optimizeVertexFetch to optimize the vertex/index buffer for data reference locality

These steps come in decreased impor…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by zeux
Comment options

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

zeux May 26, 2021
Maintainer

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
Converted from issue

This discussion was converted from issue #281 on May 22, 2021 15:08.