{
 "id": "polygen",
 "title": "PolyGen autoregressive mesh generation",
 "aliases": [
  "PolyGen"
 ],
 "domain": "genai",
 "subdomain": "autoregressive mesh generation",
 "stage": "generation",
 "realtime": "interactive",
 "platforms": [
  "python",
  "cuda"
 ],
 "year_introduced": 2020,
 "inputs": [
  "voxels",
  "photos"
 ],
 "outputs": [
  "mesh"
 ],
 "style": "both",
 "dynamic": "static",
 "summary": "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.",
 "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_use": "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` when a dense implicit surface is acceptable, and procedural `procedural-kit-modeling` when you need controllable game-ready layouts.",
 "cost": {
  "class": "heavy",
  "notes": "Autoregressive decoding is sequential and long; thousands of tokens per mesh make it seconds to minutes per sample in the original setup."
 },
 "failure_modes": [
  "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"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "arxiv:2002.10880",
   "type": "paper",
   "title": "PolyGen: An Autoregressive Generative Model of 3D Meshes",
   "authors": [
    "Charlie Nash",
    "Yaroslav Ganin",
    "S. M. Ali Eslami",
    "Peter W. Battaglia"
   ],
   "year": 2020,
   "venue": "arXiv preprint (cs.GR)",
   "url": "https://arxiv.org/abs/2002.10880",
   "ids": {
    "arxiv": "2002.10880"
   },
   "license": null,
   "extra": {
    "arxiv_version": "1",
    "category": "cs.GR"
   },
   "provenance": {
    "title": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2002.10880",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2002.10880",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2002.10880",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2002.10880",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2002.10880",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "nash2020polygen"
  },
  {
   "role": "implementation",
   "key": "gh:google-deepmind/deepmind-research",
   "type": "code",
   "title": "google-deepmind/deepmind-research",
   "description": "This repository contains implementations and illustrative code to accompany DeepMind publications",
   "authors": [
    "google-deepmind"
   ],
   "year": 2019,
   "venue": "GitHub",
   "url": "https://github.com/google-deepmind/deepmind-research",
   "ids": {
    "repo": "google-deepmind/deepmind-research"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 15315,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-06-17T13:51:27Z",
    "language": "Jupyter Notebook",
    "homepage": null,
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/deepmind-research",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/deepmind-research",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/deepmind-research",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/deepmind-research",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/deepmind-research",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/deepmind-research",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "googledeepmind2019google"
  }
 ],
 "presets": [],
 "related": [
  "meshgpt",
  "meshanything",
  "triposr",
  "trellis",
  "shap-e",
  "point-e"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "meshgpt",
   "why": "PolyGen's vertex-then-face sequences motivate the learned geometry tokens that MeshGPT decodes."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/genai/polygen.json"
 },
 "solves": [
  "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"
 ],
 "authority": "Nash et al., 2020",
 "url": "https://texelatlas.vercel.app/t/polygen/",
 "execution_fidelity": "none",
 "fidelity_label": "No Live Specimen",
 "benchmark_eligible": false
}