How to generate modern rendering demo's mesh chunk.

In the demo 'modern rendering in metal', I saw that you split the bistro 3d model into mesh chunks.

Can you tell me which algorithm is used here? kmeans or others?

Thanks.

Replies

The model data uses kmeans. Specifically, we used this open source mesh optimizer by Arseny Kapoulkine

  • Thanks for your answer.

    Do you use the function meshopt_buildMeshlets or meshopt_buildMeshletsBound? When the demo was released, I saw that mesh shaders feature was not supported in MSL.

    Or you only use the lib to do vertex fetch optimize?

    Also for k-means, how do you configure the number of clusters for one mesh. ahhh... I see that the number of vertices in a mesh chunk is about 1000。

  • "The resulting data can be used to render meshes using NVidia programmable mesh shading pipeline, or in other cluster-based renderers.", OK, I saw that. tks~

Add a Comment