/meshletmaker

Collection of meshlet generation algorithms

Primary LanguageC++MIT LicenseMIT

Performance Comparison of Meshlet Generation Strategies

This repo is greatly inspired by the meshoptimizer library by Arseny Kapoulkine and uses code from NVIDIAS meshlet example created by Christoph Kubrich.

Abstract

Mesh shaders were recently introduced for faster rendering of triangle meshes. Instead of pushing each individual triangle through the rasterization pipeline, we can create triangle clusters called meshlets and perform per-cluster culling operations. This is a great opportunity to efficiently render very large meshes. However, the performance of mesh shaders depends on how we create the meshlets. We test rendering performance, on NVIDIA hadware, after the use of different methods for organizing triangle meshes into meshlets. To measure the performance of a method, we render meshes of different complexity from many randomly selected views and measure the render time per triangle. Based on our findings, we suggest guidelines for creation of meshlets. Using our guidelines we propose two simple methods for generating meshlets that result in good rendering performance, when combined with hardware manufactures best practices. Our objective is to make it easier for the graphics practitioner to organize a triangle mesh into high performance meshlets.

Paper

Please find the paper describings the details of the different Meshlet generation strategies here: https://jcgt.org/published/0012/02/01/

If you use the work then please cite us: Mark Bo Jensen, Jeppe Revall Frisvad, and J. Andreas Bærentzen, Performance Comparison of Meshlet Generation Strategies, Journal of Computer Graphics Techniques (JCGT), vol. 12, no. 2, 1-27, 2023