{
 "id": "quadriflow",
 "title": "QuadriFlow",
 "aliases": [],
 "domain": "geometry",
 "subdomain": "remeshing",
 "stage": "geometry",
 "realtime": "interactive",
 "platforms": [
  "cpu"
 ],
 "year_introduced": 2018,
 "inputs": [
  "mesh"
 ],
 "outputs": [
  "mesh"
 ],
 "style": "both",
 "dynamic": "static",
 "summary": "Quad remeshing that formulates the integer-grid lattice as a minimum-cost flow, which guarantees a manifold, watertight quad mesh with a controllable number of faces and few irregular vertices.",
 "how_it_works": "As in field-aligned meshers, it first smooths a 4-RoSy orientation field and a position field on the input. The key step is turning the extraction of the quad lattice into a network-flow problem: the integer offsets that must be resolved to align the position field across neighbouring faces are encoded as flows on a graph. Solving a minimum-cost flow makes singularities lie where the field wants them and guarantees the integer constraints are consistent. A subsequent optimisation extracts a quad mesh whose vertices follow the field and whose faces are all quads, with a user-specified target count.",
 "when_to_use": "Choose it when you need a pure-quad, manifold result with a fixed face budget, for example subdivision cages or sculpt retopology of a clean scan. Prefer `instant-meshes` for interactive guidance and strokes or when mixed quad/tri output is acceptable, and `isotropic-remeshing` when quads do not matter.",
 "cost": {
  "class": "offline",
  "notes": "Seconds to minutes for 100k-1M faces on CPU; the flow solve is the bottleneck."
 },
 "failure_modes": [
  "Input must be (nearly) manifold; non-manifold or self-intersecting inputs fail or need preprocessing",
  "Thin sheets and fine details get lost at low face counts",
  "Cannot take artist guidance as readily as stroke-driven tools",
  "Memory use grows quickly with input size"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1111/cgf.13498",
   "type": "paper",
   "title": "QuadriFlow: A Scalable and Robust Method for Quadrangulation",
   "authors": [
    "Jingwei Huang",
    "Yichao Zhou",
    "Matthias Niessner",
    "Jonathan Richard Shewchuk",
    "Leonidas J. Guibas"
   ],
   "year": 2018,
   "venue": "Computer Graphics Forum",
   "url": "https://doi.org/10.1111/cgf.13498",
   "ids": {
    "doi": "10.1111/cgf.13498"
   },
   "license": null,
   "extra": {
    "csl_type": "journal-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.13498",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.13498",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.13498",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.13498",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.13498",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "huang2018quadriflow"
  },
  {
   "role": "implementation",
   "key": "gh:hjwdzh/quadriflow",
   "type": "code",
   "title": "hjwdzh/QuadriFlow",
   "description": "QuadriFlow: A Scalable and Robust Method for Quadrangulation",
   "authors": [
    "hjwdzh"
   ],
   "year": 2017,
   "venue": "GitHub",
   "url": "https://github.com/hjwdzh/QuadriFlow",
   "ids": {
    "repo": "hjwdzh/QuadriFlow"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 886,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2019-12-07T19:02:04Z",
    "language": "C++",
    "homepage": "http://stanford.edu/~jingweih/papers/quadriflow/",
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hjwdzh/QuadriFlow",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hjwdzh/QuadriFlow",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hjwdzh/QuadriFlow",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hjwdzh/QuadriFlow",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hjwdzh/QuadriFlow",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hjwdzh/QuadriFlow",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "hjwdzh2017hjwdzh"
  }
 ],
 "presets": [],
 "related": [
  "instant-meshes",
  "isotropic-remeshing",
  "qem-mesh-simplification"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "catmull-clark-subdivision",
   "why": "Pure-quad output is a natural subdivision cage."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/geometry/quadriflow.json"
 },
 "solves": [
  "need clean quad mesh with a fixed face count",
  "sculpt or scan needs retopology to quads",
  "want manifold watertight quad remesh with few irregular vertices",
  "subdivision cage from a dense mesh"
 ],
 "authority": "Huang et al., 2018",
 "url": "https://texelatlas.vercel.app/t/quadriflow/",
 "execution_fidelity": "none",
 "fidelity_label": "No Live Specimen",
 "benchmark_eligible": false
}