Optimizing meshoptimizer to process 1.6 billion triangles in minutes

Optimizing meshoptimizer to process billions of triangles in minutes (2025)

Optimizing meshoptimizer to process 1.6 billion triangles in minutes

NVIDIA's Zorah demo scene, distributed as a 36 GB glTF file with 1.64 billion triangles, pushes geometry processing to its limits. This article details the optimizations made to meshoptimizer to handle such massive meshes, reducing processing time from over 9 minutes to under 3 minutes and cutting memory usage from 180+ GB to under 50 GB. Key improvements include addressing memset bottlenecks in clusterization, optimizing vertex reindexing, and refining the simplification pipeline.

A 36 GB glTF file that _only_ contains geometry - moreover, it doesn’t contain vertex attribute data for the vast majority of the meshes, just positions!

More from this day

2026-08-22