File size: 4,518 Bytes
adb65c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25ac999
 
72356cd
 
26b6a67
adb65c7
ef262db
adb65c7
0c7cf83
 
5cdbbcd
0c7cf83
a20cb15
 
ef262db
 
 
 
 
 
 
 
 
 
adb65c7
 
 
 
ef262db
 
 
 
 
 
 
 
 
 
adb65c7
 
ef262db
c0f3ff9
ef262db
adb65c7
0c7cf83
 
 
adb65c7
ef262db
adb65c7
 
 
d6d8e3c
adb65c7
ef262db
79e8155
 
 
 
 
 
 
 
 
 
 
 
d5b5b3a
 
 
d6d8e3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
library_name: meshaxiom
pipeline_tag: image-to-3d
tags:
  - meshaxiom
  - image-to-mesh
  - mesh
  - 3d
  - exact
language:
  - en
  - zh
---

# MeshAxiom-Base

**MeshAxiom: An Agent-Native 3D Foundation Stack for Programmable Worlds**

🌐 [**Project Page**](https://alaya-lab.github.io/MeshAxiom/)<br>
💻 [**Code**](https://github.com/AlayaLab/MeshAxiom)<br>
🤗 [**Model**](https://huggingface.co/AlayaLab/MeshAxiom-Base)<br>
📦 **3D Assets** [**(Website)**](https://alaya-lab.github.io/MeshAxiom/space-kit.html) · [**(Hugging Face)**](https://huggingface.co/datasets/AlayaLab/MeshAxiom-Assets)<br>
📄 **Paper** [**(arXiv)**](https://arxiv.org/abs/2611.36484) · [**(Hugging Face)**](https://huggingface.co/papers/2611.36484)

MeshAxiom-Base generates a triangle mesh from one image and a target face count. It places vertices on a sparse octree, then predicts which vertices form each triangle.

## Latest release

> **2026-11-30 — We released updated MeshAxiom-Base checkpoints with improved image-to-mesh performance.** [Model weights](https://huggingface.co/AlayaLab/MeshAxiom-Base)

## Usage

Install MeshAxiom on Linux with Python 3.11 or 3.12 and a CUDA build of PyTorch 2.7.

```bash
git clone https://github.com/AlayaLab/MeshAxiom.git
cd MeshAxiom
python -m pip install -e '.[geometry,hub,background,postprocess]'
```

The example requests 4,000 triangles for the included 512 × 512 cockpit image and keeps its black background. For photos or transparent PNGs, use the default `background="auto"`.

```python
from huggingface_hub import HfApi
from meshaxiom import MeshAxiomPipeline

model_id = "AlayaLab/MeshAxiom-Base"
revision = HfApi().model_info(model_id).sha
with MeshAxiomPipeline.from_pretrained(model_id, revision=revision) as model:
    result = model.generate(
        "examples/reference.png",
        "outputs/cockpit",
        face_budget=4000,
        background="keep",
    )
    print(result["artifacts"]["mesh_glb"]["path"])
```

Open `outputs/cockpit/mesh.glb` in a 3D viewer. The GLB uses glTF’s Y-up convention. The same directory contains the Z-up mesh in `mesh.obj` and `mesh.json`. `geometry_report.json` records the actual face count, boundary edges and degenerate faces.

## Weights and inference

On 384 validation objects at 4K and 8K requested faces, mean rigid-aligned Chamfer distance fell by 2.18% and mean face-count error fell from 8.73% to 7.95% relative to the 180K/10K/30K reference. The 95% interval for the raw Chamfer change includes zero. This comparison used the 180K reference and provides no direct comparison to the previous public 100K model. [Evaluation and checkpoint verification](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/VALIDATION.json)

File sizes and SHA-256 hashes are in the [weight manifest](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/WEIGHTS.json). The [previous public 100K release](https://huggingface.co/AlayaLab/MeshAxiom-Base/tree/ef262dbfab57e19b80b377a5b48f2005c3d6c2bb) is available at its original revision.

Exact inference selects one of eight coarse vertex layouts (MBR8), uses 20 DPM++2M sampling steps and sets the topology guidance scale to 3. [Inference settings](https://github.com/AlayaLab/MeshAxiom/blob/main/docs/EXACT.md)

## License

The MeshAxiom authors' original code is licensed under Apache-2.0. The authors have not issued a separate public license for their own model weights. The vertex and topology checkpoints include frozen DINOv3 tensors covered by Meta's license. [Code license](https://github.com/AlayaLab/MeshAxiom/blob/main/LICENSE.md) · [Model weight terms](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/LICENSE.md) · [DINOv3 license](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/external/dinov3/LICENSE.md)

## Citation

```bibtex
@misc{yu2026meshaxiomagentnative3dfoundation,
      title={{MeshAxiom: An Agent-Native 3D Foundation Stack for Programmable Worlds}},
      author={Yonghao Yu and Ruihan Yu and Sho Kuno and Muyao Niu and Yu-Ju Tsai and Zheng-Hui Huang and Fengbo Lan and Guixu Lin and Runyi Li and Chuanhao Li and Ming-Hsuan Yang and Kaipeng Zhang and Zhixiang Wang},
      year={2026},
      eprint={2611.36484},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2611.36484},
}
```

## Acknowledgements

MeshAxiom-Base reimplements the two-stage vertex and topology diffusion method described in [Nexus](https://arxiv.org/abs/2607.13563). We thank the Nexus authors for this work.