DOCS // SPATIAL.COMPILER

Operations reference

compile_3d_asset welds non-manifold edges, decimates to an exact triangle budget, can emit a LOD chain, packs xatlas UVs and bakes ORM textures, and its output carries convex collision hulls.

Operations

target_tris and dry_run are the core options. Other options in the examples on this site are illustrative.

weld compile_3d_asset

Welds non-manifold edges so downstream decimation, UV packing and baking operate on clean topology.

decimate compile_3d_asset · meshoptimizer

Decimates to an exact triangle budget (target_tris) using meshoptimizer. Telemetry reports triangles in and out.

lod_chain compile_3d_asset · optional

Optionally emits a chain of levels of detail: the same source decimated to several triangle budgets, with telemetry for each level.

uv_pack compile_3d_asset · xatlas

Packs non-overlapping UV atlases with xatlas, so the asset can carry baked textures.

orm_bake compile_3d_asset

Bakes channel-packed ORM textures (ambient occlusion, roughness, metallic in one texture) in the same VRAM pass as decimation and UV packing.

convex_hulls physics-ready output

Generates convex collision hulls so the compiled asset is physics-ready for engines and simulators.