Skip to content

How it works

Sebastien DUMETZ edited this page Nov 17, 2026 · 2 revisions

mesh2gltf keeps geometry in files in a private disk workspace. It reads the source sequentially, then uses memory-mapped access to those files while building glTF. This allows a single object or primitive to exceed available RAM without holding the whole mesh on the heap.

Conversion and memory use

Disk-backed conversion follows the pipeline from source parsing to final output. It explains which data stays on the heap, how memory mapping uses the operating system's page cache, and what consumes workspace disk space.

Resource usage comparison illustrates the practical tradeoffs against obj2gltf and Blender.

Development and measurement

Development covers required checks, Khronos glTF validation, real-import memory monitoring and editing this wiki.

Documentation home

Clone this wiki locally