meshoptimizer is a C++ geometry processing library designed to reduce the storage requirements and rendering costs of three-dimensional meshes. It provides algorithms for eliminating redundant vertices and reorganizing geometry for efficient GPU processing. Vertex cache, vertex fetch, and overdraw optimization improve rendering performance across different hardware architectures. Its mesh simplification algorithms generate lower-detail geometry while preserving important visual characteristics. The library supports efficient compression of vertex buffers, index buffers, meshlets, and point cloud data. Geometry clustering facilitates modern rendering techniques, including mesh shading and clustered ray tracing. The project also includes gltfpack, a command-line utility for optimizing glTF assets.
Features
- Vertex cache and vertex fetch optimization for efficient GPU geometry processing
- Mesh indexing and overdraw reduction for improved rendering performance
- Geometry simplification for generating optimized levels of detail
- Vertex buffer, index buffer, meshlet, and point cloud compression algorithms
- Geometry clustering for mesh shading and clustered ray tracing applications
- Integrated gltfpack utility for optimizing and compressing glTF assets