Skip to content
Discussion options

You must be logged in to vote

Looking at your full source code, this line is also incorrect as it needs to multiply triangle_count (but not offset) by 3:

size_t meshlet_triangle_count =
meshlet_array.meshlets.back().triangle_offset +
meshlet_array.meshlets.back().triangle_count;

The rest seems fine upon initial inspection, except extractMeshlet which is not quite the code we've been discussing but presumably some later updates haven't been pushed.

Also just noting that the verification step should not be necessary: generated meshlets should never contain out of bounds indices.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@cone-forest
Comment options

@zeux
Comment options

zeux Dec 1, 2025
Maintainer

@zeux
Comment options

zeux Dec 1, 2025
Maintainer

Answer selected by cone-forest
@cone-forest
Comment options

@cone-forest
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