Skip to content
\n

This week I learned about meshopt_generateShadowIndexBuffer and thought it could work as a replacement and tried

\n
meshopt_generateShadowIndexBuffer\nmeshopt_simplify\n
\n

But the simplifier was not able to really work more than reducing to 97% of the size. I understand that the shadow index buffer is doing the vertex weld, so I was expecting it to work in the same way plus I wouldn't need to reorder/remap the vertices (cause I need to keep the order in that phase for a different matter). But simplification is definitely not working well.

\n

Am I making sense or totally missing the point?
\nThanks in advance.

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Ohh. Uhh. Yes :( Thanks for bringing this to my attention! This never worked and needs some sort of tweaks.

\n

I believe you can use meshopt_SimplifySparse option which should fix the issue (for your usecase you can ignore the absolute error flag even though the documentation advises it). The documentation right now states that you can use shadow index buffers as an input and that is incorrect. I will remove the mention of this from the documentation for now and add a TODO item to investigate the best option to fix this.

","upvoteCount":0,"url":"https://github.com/zeux/meshoptimizer/discussions/756#discussioncomment-10488948"}}}

Simplification issues using the new meshopt_generateShadowIndexBuffer #756

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

You must be logged in to vote

Ohh. Uhh. Yes :( Thanks for bringing this to my attention! This never worked and needs some sort of tweaks.

I believe you can use meshopt_SimplifySparse option which should fix the issue (for your usecase you can ignore the absolute error flag even though the documentation advises it). The documentation right now states that you can use shadow index buffers as an input and that is incorrect. I will remove the mention of this from the documentation for now and add a TODO item to investigate the best option to fix this.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jtorresfabra
Comment options

@zeux
Comment options

zeux Aug 29, 2024
Maintainer

@jtorresfabra
Comment options

@zeux
Comment options

zeux Aug 29, 2024
Maintainer

Answer selected by jtorresfabra
@jtorresfabra
Comment options

@jtorresfabra
Comment options

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