---
id: "manifold-dual-contouring"
title: "Manifold Dual Contouring"
aliases: [MDC]
domain: "geometry"
stage: "geometry"
realtime: "interactive"
platforms: [cpu, cuda]
year_introduced: 2007
inputs: [voxels, sdf]
outputs: [mesh, normals]
style: "both"
dynamic: "both"
cost: "medium"
authority: "Schaefer et al., 2007"
url: "https://texelatlas.vercel.app/t/manifold-dual-contouring/"
sources_verified_at: "2026-11-29"
---
# Manifold Dual Contouring (Schaefer et al., 2007)

> Dual contouring variant that emits several vertices per cell when needed so the extracted surface is a proper 2-manifold, while still preserving sharp features and supporting octree simplification.

## Reach for it when

- dual contouring produces holes or self-intersecting mesh
- extracted isosurface not watertight
- thin features create non-manifold geometry from sdf
- need clean manifold mesh while keeping sharp edges

## How it works

Standard dual contouring creates one vertex per cell, which breaks when a cell is crossed by more than one surface sheet or by a sheet touching itself. Manifold dual contouring first classifies, for each cell, the connected components of its surface-crossing edge loops (using the marching-cubes-style sign pattern). It creates one vertex, with its own QEF, per component rather than per cell. Edges and faces then connect the vertices that belong to the same component, so every edge ends up shared by exactly two faces. The octree simplification step is adapted so a merge only occurs when it keeps the topology manifold, using the same QEF error threshold as DC.

## When to use it

Choose it when downstream tools demand watertight 2-manifold meshes (booleans, 3D print, simulation, [Manifold Mesh Booleans](https://texelatlas.vercel.app/t/mesh-boolean-manifold.md)) and you still want sharp features from an SDF or Hermite volume. Prefer [Dual Contouring](https://texelatlas.vercel.app/t/dual-contouring.md) when non-manifold glitches are tolerable and you want the simpler code, or [Marching Cubes](https://texelatlas.vercel.app/t/marching-cubes.md) when features are irrelevant.

## Cost

medium — Same order as dual contouring plus per-cell component analysis; more complex bookkeeping and several vertices per cell.

## Failure modes

- Implementation complexity: case tables for components are easy to get wrong
- Still spikes on bad normals or near-parallel planes
- Very thin sheets closer than a cell can produce overlapping vertices that remain geometrically self-intersecting even though topology is manifold
- Octree simplification can introduce small cracks if neighbour levels differ by more than one

## Dataflow

- Inputs: voxels, sdf
- Outputs: mesh, normals
- Platforms: cpu, cuda

## Lineage

- extends [Dual Contouring](https://texelatlas.vercel.app/t/dual-contouring.md)

## Combines with

- [Manifold Mesh Booleans](https://texelatlas.vercel.app/t/mesh-boolean-manifold.md): Manifold output feeds directly into the boolean library which requires manifold inputs.

## Sources

1. [primary] Scott Schaefer, Tao Ju, Joe Warren (2007) Manifold Dual Contouring. IEEE Transactions on Visualization and Computer Graphics. https://doi.org/10.1109/tvcg.2007.1012 (verified via crossref on 2026-11-29)

## Cite this entry

Texel. "Manifold Dual Contouring." https://texelatlas.vercel.app/t/manifold-dual-contouring/ (accessed 2026-12-01).
