meshoptimizer

Mesh optimization library that makes meshes smaller and faster to render

45 articles 8.1k View on GitHub ↗
45 articles
How the Meshoptimizer Index Codec Rotates Triangles for Better Compression

Discover how the meshoptimizer index codec rotates triangles to optimize FIFO cache usage and achieve superior compression for your 3D models.

internals
Jul 12, 2026
How to Use Meshoptimizer's Experimental API Functions and Understand Stability Guarantees

Explore meshoptimizer's experimental API functions to leverage cutting-edge features. Understand stability guarantees and how they differ from stable APIs for robust development.

how-to-guide
Jul 12, 2026
The Difference Between meshopt_generateVertexRemap and meshopt_generatePositionRemap in meshoptimizer

Understand the difference between meshopt_generateVertexRemap and meshopt_generatePositionRemap. Learn how each function optimizes vertex data for efficient 3D asset pipelines.

deep-dive
Jul 12, 2026
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-guide
Jul 12, 2026
How to Handle Degenerate and Duplicate Triangles with meshopt_filterIndexBuffer

Learn how meshopt_filterIndexBuffer handles degenerate and duplicate triangles, simplifying your mesh and optimizing rendering performance. Discover efficient index buffer processing.

how-to-guide
Jul 12, 2026
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.

deep-dive
Jul 12, 2026
How to Use meshopt_partitionClusters for Nanite-Style Hierarchical LOD

Learn how to use meshopt_partitionClusters for Nanite-style hierarchical LOD. Group clusters for efficient culling and build LOD nodes with meshoptimizer.

how-to-guide
Jul 12, 2026
How meshopt_spatialSortRemap Improves Point Cloud Compression: A Deep Dive

Discover how meshopt_spatialSortRemap boosts point cloud compression by reordering vertices with Morton codes, achieving 30-50% smaller sizes with delta-based encoders.

deep-dive
Jul 12, 2026
How to Use Vertex Filters for glTF Serialization Without Shader Changes

Learn how to use meshoptimizer's vertex filters for glTF serialization. Preserve original values without shader changes using the EXT_meshopt_compression extension.

how-to-guide
Jul 12, 2026
Vertex Quantization Methods in meshoptimizer: Half-Precision, Snorm, and Unorm

Explore 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.

deep-dive
Jul 12, 2026
How to Decode Meshlet Data on the GPU Using Write-Combined Memory

Decode 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-guide
Jul 12, 2026
How to Use meshopt_encodeMeshlet for Mesh Shader Workloads

Learn to use meshopt_encodeMeshlet to pack meshlet data for GPU mesh shaders. Stream compact binary formats for efficient rendering in your projects.

how-to-guide
Jul 12, 2026

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:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →