Meshlet size
#679
-
The number of vertices in a meshlet is limited. Is there a way to increase the limit or to specify the maximum number |
Beta Was this translation helpful? Give feedback.
Answered by
zeux
Apr 18, 2024
Replies: 2 comments 1 reply
-
Limited how? The 255 vertex limit is aligned with all existing graphics APIs and hardware from what I know. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, of course. My intended use of meshoptimizer was to use it for non-GPU rendering where I need to break the mesh up |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would probably try using max supported limits (512 triangles/255 vertices) and merge consecutive meshlets, with or without subsequent vertex deduplication based on whether that’s necessary. It’s not ideal but meshlets are roughly grouped based on proximity so the output should be reasonable.