PolyGen autoregressive mesh generation
A transformer model that writes a polygon mesh directly: first the vertex coordinates, then the faces as index sequences, so output is native low-poly geometry rather than an iso-surface.
Also known as PolyGen
In the family Generative & learned 3D, autoregressive mesh generation
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | None found | |
| Unity | None found | |
| Unreal 5.7 | None found | Research model; no engine feature. |
| Blender 5.2 | None found | Research model; no Blender feature. |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Meshes are treated as two token sequences. A vertex model predicts quantised x, y, z coordinates one value at a time (vertices sorted by height z, then y, then x) with a Transformer decoder, and each new coordinate is conditioned on all previous ones. A face model then takes the generated vertices and produces faces by emitting vertex indices through a pointer-network-style head: attention over the encoded vertex list selects which vertex comes next, with a stop token to end each face. Both stages can be conditioned on class labels, an image or a voxel grid through cross-attention. Sampling uses nucleus (top-p) sampling for diversity. Because the result is an explicit n-gon mesh with shared vertices, it needs no remeshing, and triangles can be edge-length-limited by the learned distribution.
When to choose it
Reach for it when
- want a generative model that outputs real polygon meshes
- ai generated meshes are dense and not artist style
- need low poly mesh generation conditioned on a voxel or image
- generate vertices and faces as a sequence of tokens
- iso surface extraction gives messy triangles from generated models
Choose it as the reference for mesh-as-sequence generation and for understanding later artist-style mesh models. Prefer MeshGPT or MeshAnything for stronger, scalable successors with learned tokenisers, TripoSR or TRELLIS (Structured 3D Latents) when a dense implicit surface is acceptable, and procedural Procedural Kit Modeling with Verification (procgen-kit) when you need controllable game-ready layouts.
Field marks
- Limited to small meshes (hundreds of faces) because of sequence length growth
- Occasional non-manifold, flipped or intersecting faces, since validity is not enforced
- Quantisation to a coarse coordinate grid limits fine detail
- Quality tied to the training set (ShapeNet-class furniture), with weak generalisation to new categories
- No textures or UVs are produced
Lineage
From the citation graph (Crossref reference lists): its primary source cites DeepSDF (neural signed distance functions); cited by LL3M (Large Language 3D Modelers), MeshAnything, MeshFlow, MeshGPT, TexFusion, Text2Tex, TRELLIS.2 (O-Voxel structured latents), TRELLIS (Structured 3D Latents).
Crosses
- MeshGPT: PolyGen's vertex-then-face sequences motivate the learned geometry tokens that MeshGPT decodes.
Sources
- primaryCharlie Nash, Yaroslav Ganin, S. M. Ali Eslami, Peter W. Battaglia (2020). PolyGen: An Autoregressive Generative Model of 3D Meshes. arXiv preprint (cs.GR).Verified via arxiv · 2026-11-29arXiv:2002.10880
- implementationgoogle-deepmind (2019). google-deepmind/deepmind-research. This repository contains implementations and illustrative code to accompany DeepMind publicationsGitHub API · license Apache-2.0 · 2026-11-29