meshoptimizer
Mesh optimization library that makes meshes smaller and faster to render
Discover how the meshoptimizer index codec rotates triangles to optimize FIFO cache usage and achieve superior compression for your 3D models.
How to Use Meshoptimizer's Experimental API Functions and Understand Stability GuaranteesExplore meshoptimizer's experimental API functions to leverage cutting-edge features. Understand stability guarantees and how they differ from stable APIs for robust development.
The Difference Between meshopt_generateVertexRemap and meshopt_generatePositionRemap in meshoptimizerUnderstand the difference between meshopt_generateVertexRemap and meshopt_generatePositionRemap. Learn how each function optimizes vertex data for efficient 3D asset pipelines.
How to Generate an Adjacency Index Buffer for Silhouette Detection with `meshopt_generateAdjacencyIndexBuffer`Learn how to generate an adjacency index buffer for silhouette detection with meshopt_generateAdjacencyIndexBuffer. Streamline GPU passes for efficient edge detection.
How to Handle Degenerate and Duplicate Triangles with meshopt_filterIndexBufferLearn how meshopt_filterIndexBuffer handles degenerate and duplicate triangles, simplifying your mesh and optimizing rendering performance. Discover efficient index buffer processing.
Cluster-Relative Position Quantization in meshoptimizer: How to Use `meshopt_computePositionExponent`Learn cluster-relative position quantization with meshoptimizer. Discover how to use meshopt_computePositionExponent to optimize vertex positions and reduce memory bandwidth for better performance.
How to Use meshopt_partitionClusters for Nanite-Style Hierarchical LODLearn how to use meshopt_partitionClusters for Nanite-style hierarchical LOD. Group clusters for efficient culling and build LOD nodes with meshoptimizer.
How meshopt_spatialSortRemap Improves Point Cloud Compression: A Deep DiveDiscover how meshopt_spatialSortRemap boosts point cloud compression by reordering vertices with Morton codes, achieving 30-50% smaller sizes with delta-based encoders.
How to Use Vertex Filters for glTF Serialization Without Shader ChangesLearn how to use meshoptimizer's vertex filters for glTF serialization. Preserve original values without shader changes using the EXT_meshopt_compression extension.
Vertex Quantization Methods in meshoptimizer: Half-Precision, Snorm, and UnormExplore vertex quantization methods in meshoptimizer: half-precision, snorm, and unorm. Optimize your 3D assets with these powerful techniques for smaller file sizes and faster loading.
How to Decode Meshlet Data on the GPU Using Write-Combined MemoryDecode meshlet data on GPU with write-combined memory for maximum throughput. Stream decoded vertices and triangles directly into GPU buffers, eliminating CPU copies.
How to Use meshopt_encodeMeshlet for Mesh Shader WorkloadsLearn to use meshopt_encodeMeshlet to pack meshlet data for GPU mesh shaders. Stream compact binary formats for efficient rendering in your projects.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →