---
id: "quadriflow"
title: "QuadriFlow"
domain: "geometry"
stage: "geometry"
realtime: "interactive"
platforms: [cpu]
year_introduced: 2018
inputs: [mesh]
outputs: [mesh]
style: "both"
dynamic: "static"
cost: "offline"
authority: "Huang et al., 2018"
url: "https://texelatlas.vercel.app/t/quadriflow/"
sources_verified_at: "2026-11-29"
---
# QuadriFlow (Huang et al., 2018)

> 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.

## Reach for it when

- 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

## 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 it

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 Field-Aligned Meshes](https://texelatlas.vercel.app/t/instant-meshes.md) for interactive guidance and strokes or when mixed quad/tri output is acceptable, and [Isotropic Remeshing](https://texelatlas.vercel.app/t/isotropic-remeshing.md) when quads do not matter.

## Cost

offline — 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

## Engine support

- blender: builtin — `Object > Quad Remesh (Object Mode, 3D Viewport)` (evidence: https://docs.blender.org/manual/en/5.2/modeling/meshes/retopology.html, checked 2026-12-01)

## Dataflow

- Inputs: mesh
- Outputs: mesh
- Platforms: cpu

## Combines with

- [Catmull-Clark Subdivision](https://texelatlas.vercel.app/t/catmull-clark-subdivision.md): Pure-quad output is a natural subdivision cage.

## Sources

1. [primary] Jingwei Huang, Yichao Zhou, Matthias Niessner, Jonathan Richard Shewchuk, Leonidas J. Guibas (2018) QuadriFlow: A Scalable and Robust Method for Quadrangulation. Computer Graphics Forum. https://doi.org/10.1111/cgf.13498 (verified via crossref on 2026-11-29)
2. [implementation] hjwdzh (2017) hjwdzh/QuadriFlow. https://github.com/hjwdzh/QuadriFlow License: NOASSERTION. (verified via github on 2026-11-29)

## Cite this entry

Texel. "QuadriFlow." https://texelatlas.vercel.app/t/quadriflow/ (accessed 2026-12-01).
