{
 "id": "poisson-surface-reconstruction",
 "title": "Poisson Surface Reconstruction",
 "aliases": [],
 "domain": "geometry",
 "subdomain": "surface reconstruction",
 "stage": "geometry",
 "realtime": "offline",
 "platforms": [
  "cpu",
  "cuda",
  "python"
 ],
 "year_introduced": 2006,
 "inputs": [
  "point-cloud",
  "normals"
 ],
 "outputs": [
  "mesh",
  "sdf"
 ],
 "style": "photoreal",
 "dynamic": "static",
 "summary": "Fits a smooth indicator function whose gradient matches an oriented point cloud's normals by solving a Poisson equation on an adaptive octree, then extracts the zero level set. Watertight meshes from noisy scans.",
 "how_it_works": "Treat the oriented points as samples of the gradient of the model's indicator function (1 inside, 0 outside). Splat the normals into a smooth vector field, then solve for the scalar function whose gradient best matches that field, which is a Poisson problem: the Laplacian of the function equals the divergence of the field. The function is discretised over an adaptive octree with compactly supported basis functions, so the linear system is sparse and resolution concentrates near points. Finally, the surface is extracted at the iso-value equal to the average of the indicator at the sample positions, using an octree-aware marching-cubes variant. Because the solution is global, the method fills holes smoothly and tolerates noise and misregistration.",
 "when_to_use": "Choose it for watertight reconstruction from MVS or LiDAR point clouds with reliable normals, and as the default meshing step after photogrammetry. Prefer `screened-poisson-surface-reconstruction` which fixes the oversmoothing and adds point interpolation, and `marching-cubes` on a pre-built SDF when you already have a distance field.",
 "cost": {
  "class": "offline",
  "notes": "Octree depth controls cost and memory; typical scans take seconds to minutes on CPU."
 },
 "failure_modes": [
  "Oversmoothed fine detail and rounded corners compared with the screened variant",
  "Hallucinated closed surface that bridges across holes or bulges into missing regions",
  "Bad or inconsistently oriented normals produce blobs and inverted regions",
  "Sheet-like geometry (leaves, cloth) turns into inflated thick shells"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.2312/sgp/sgp06/061-070",
   "type": "paper",
   "title": "Poisson Surface Reconstruction",
   "authors": [
    "Michael Kazhdan",
    "Matthew Bolitho",
    "Hugues Hoppe"
   ],
   "year": 2006,
   "venue": "Symposium on Geometry Processing",
   "url": "https://doi.org/10.2312/sgp/sgp06/061-070",
   "ids": {
    "doi": "10.2312/sgp/sgp06/061-070"
   },
   "license": null,
   "extra": {
    "csl_type": "article"
   },
   "provenance": {
    "title": {
     "authority": "doi.org",
     "endpoint": "https://doi.org/10.2312/sgp/sgp06/061-070 (CSL-JSON)",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "doi.org",
     "endpoint": "https://doi.org/10.2312/sgp/sgp06/061-070 (CSL-JSON)",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "doi.org",
     "endpoint": "https://doi.org/10.2312/sgp/sgp06/061-070 (CSL-JSON)",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "doi.org",
     "endpoint": "https://doi.org/10.2312/sgp/sgp06/061-070 (CSL-JSON)",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "doi.org",
     "endpoint": "https://doi.org/10.2312/sgp/sgp06/061-070 (CSL-JSON)",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "kazhdan2006poisson"
  },
  {
   "role": "primary",
   "key": "url:https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf",
   "type": "web",
   "title": "Poisson Surface Reconstruction",
   "authors": [
    "Michael Kazhdan"
   ],
   "year": null,
   "venue": "cs.jhu.edu",
   "url": "https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20261004204754/https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf",
     "timestamp": "20261004204754"
    },
    "page_title": null,
    "host": "cs.jhu.edu",
    "title_confirmed_by_page": false,
    "title_unconfirmed": false
   },
   "provenance": {
    "title": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "http",
     "endpoint": "GET https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "http",
     "endpoint": "GET https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "kazhdanpoisson"
  },
  {
   "role": "implementation",
   "key": "gh:mkazhdan/poissonrecon",
   "type": "code",
   "title": "mkazhdan/PoissonRecon",
   "description": "Poisson Surface Reconstruction",
   "authors": [
    "mkazhdan"
   ],
   "year": 2015,
   "venue": "GitHub",
   "url": "https://github.com/mkazhdan/PoissonRecon",
   "ids": {
    "repo": "mkazhdan/PoissonRecon"
   },
   "license": "MIT",
   "extra": {
    "stars": 1875,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-15T05:55:49Z",
    "language": "C",
    "homepage": null,
    "license_name": "MIT License"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mkazhdan/PoissonRecon",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mkazhdan/PoissonRecon",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mkazhdan/PoissonRecon",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mkazhdan/PoissonRecon",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mkazhdan/PoissonRecon",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mkazhdan/PoissonRecon",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "mkazhdan2015mkazhdan"
  }
 ],
 "presets": [
  {
   "id": "poisson-surface-reconstruction-live",
   "title": "Poisson Surface Reconstruction — oriented point cloud normals (left) vs watertight implicit solve (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_POINT_DENS": 11,
    "P_ISO_CONTOUR": 0.65,
    "P_ROT_SPEED": 0.7,
    "P_SPLIT": 0.48
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_POINT_DENS = 11.0; // P Point Density [6.0, 20.0, 1.0]\nconst float P_ISO_CONTOUR = 0.65; // P Indicator Field [0.0, 1.5, 0.05]\nconst float P_ROT_SPEED = 0.70; // P Spin Speed [0.0, 2.2, 0.05]\nconst float P_SPLIT = 0.48; // P Cloud / Poisson Split [0.0, 1.0, 0.02]\n\nmat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }\n\nvec3 hash33(vec3 p) {\n  p = fract(p * vec3(0.1031, 0.1030, 0.0973));\n  p += dot(p, p.yxz + 33.33);\n  return fract((p.xxy + p.yxx) * p.zyx);\n}\n\nfloat smin(float a, float b, float k) {\n  float h = clamp(0.5 + 0.5 * (b - a) / max(k, 1e-4), 0.0, 1.0);\n  return mix(b, a, h) - k * h * (1.0 - h);\n}\n\n// Sculpted genus-1 organic sculpture (ground-truth watertight Poisson indicator zero-level set)\nfloat mapSurface(vec3 p, float spin) {\n  vec3 q = p;\n  q.xz = rot2(spin * 0.6) * q.xz;\n  q.yz = rot2(0.38) * q.yz;\n  vec2 t1 = vec2(length(q.xz) - 0.46, q.y);\n  float dTor = length(t1) - 0.24;\n  float dOrb1 = length(q - vec3(0.0, 0.30, 0.0)) - 0.30;\n  float dOrb2 = length(q - vec3(0.0, -0.30, 0.0)) - 0.28;\n  return smin(dTor, min(dOrb1, dOrb2), 0.20) * 0.88;\n}\n\nvec3 calcNormal(vec3 p, float spin) {\n  vec2 e = vec2(0.0020, 0.0);\n  return normalize(vec3(\n    mapSurface(p + e.xyy, spin) - mapSurface(p - e.xyy, spin),\n    mapSurface(p + e.yxy, spin) - mapSurface(p - e.yxy, spin),\n    mapSurface(p + e.yyx, spin) - mapSurface(p - e.yyx, spin)\n  ));\n}\n\nvec3 aces(vec3 x) {\n  x = max(x, 0.0);\n  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;\n  float screenX = fragCoord.x / max(iResolution.x, 1.0);\n  float split = clamp(P_SPLIT, 0.0, 1.0);\n  bool isPoisson = screenX >= split;\n  float dens = clamp(floor(P_POINT_DENS + 0.5), 6.0, 22.0);\n  float isoVis = clamp(P_ISO_CONTOUR, 0.0, 1.5);\n  float spin = iTime * max(P_ROT_SPEED, 0.0);\n\n  vec3 ro = vec3(0.0, 0.04, 2.38);\n  vec3 rd = normalize(vec3(uv, -1.55));\n\n  vec3 col = mix(vec3(0.024, 0.034, 0.056), vec3(0.068, 0.088, 0.138), smoothstep(-0.55, 0.55, uv.y));\n\n  // Subtle background Poisson indicator scalar field chi(x) slice in the z=0 plane\n  float tZ0 = (0.0 - ro.z) / rd.z;\n  vec3 pZ0 = ro + rd * tZ0;\n  float dSlice = mapSurface(pZ0, spin);\n  float chiField = 1.0 / (1.0 + exp(dSlice * 7.5)); // smooth indicator function chi in [0, 1]\n  float isoRing = smoothstep(0.08, 0.015, abs(fract(dSlice * 8.0) - 0.5)) * exp(-abs(dSlice) * 2.2);\n  col += mix(vec3(0.10, 0.42, 0.72), vec3(0.95, 0.56, 0.22), chiField) * isoRing * 0.28 * min(isoVis, 1.2);\n\n  float t = 0.0;\n  bool hit = false;\n  for (int i = 0; i < 64; i++) {\n    float d = mapSurface(ro + rd * t, spin);\n    if (d < 0.002) { hit = true; break; }\n    t += d;\n    if (t > 7.5) break;\n  }\n\n  if (hit) {\n    vec3 p = ro + rd * t;\n    vec3 n = calcNormal(p, spin);\n\n    vec3 objP = p;\n    objP.xz = rot2(spin * 0.6) * objP.xz;\n    objP.yz = rot2(0.38) * objP.yz;\n\n    if (!isPoisson) {\n      // Left: Sparse oriented point-cloud input (positions + surface normals V(p)) with empty gaps between points!\n      vec3 g = objP * dens;\n      vec3 cell = floor(g);\n      float minD = 1e5;\n      for (int dz = -1; dz <= 1; dz++) {\n        for (int dy = -1; dy <= 1; dy++) {\n          for (int dx = -1; dx <= 1; dx++) {\n            vec3 nb = cell + vec3(float(dx), float(dy), float(dz));\n            vec3 pt = (nb + 0.18 + 0.64 * hash33(nb)) / dens;\n            // Project onto surface tangent plane to mimic real scanned point cloud\n            vec3 ptOnSurf = pt - n * dot(pt - objP, n);\n            minD = min(minD, length(objP - ptOnSurf));\n          }\n        }\n      }\n      float ptRad = 0.34 / dens;\n      float ptMask = smoothstep(ptRad, ptRad * 0.55, minD);\n      // Normal-encoded RGB color shows each sample carries an oriented normal vector!\n      vec3 normCol = n * 0.5 + 0.5;\n      // Faint inner ghost hull so 3D form reads cleanly between sparse oriented surfels\n      vec3 ghost = vec3(0.08, 0.12, 0.18) * (0.4 + 0.6 * max(dot(n, normalize(vec3(0.5, 0.8, 0.5))), 0.0));\n      col = mix(mix(col, ghost, 0.55), normCol * 1.15, ptMask);\n    } else {\n      // Right: Watertight smooth isosurface extracted from solving Delta(chi) = div(V)\n      vec3 l1 = normalize(vec3(0.58, 0.84, 0.52));\n      vec3 l2 = normalize(vec3(-0.72, -0.22, 0.50));\n      float diff = max(dot(n, l1), 0.0) * 0.86 + max(dot(n, l2), 0.0) * 0.24;\n      float spec = pow(max(dot(n, normalize(l1 - rd)), 0.0), 54.0);\n      float rim = pow(1.0 - max(dot(n, -rd), 0.0), 3.0);\n\n      vec3 alb = vec3(0.84, 0.82, 0.78);\n      col = alb * (0.24 + 0.84 * diff) + vec3(0.98) * spec * 0.52 + vec3(0.32, 0.74, 0.98) * rim * 0.32;\n      // Subtle topographic iso-elevation contours from the smooth indicator field\n      float surfIso = smoothstep(0.06, 0.015, abs(fract(objP.y * 8.0) - 0.5));\n      col = mix(col, vec3(0.12, 0.48, 0.72), surfIso * 0.20 * min(isoVis, 1.2));\n    }\n  }\n\n  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));\n  col = mix(col, vec3(0.95, 0.97, 1.0), sep);\n\n  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);\n}",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-30",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "poisson-surface-reconstruction",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T19:53:34.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.5098,
      "std": 0.2658,
      "min": 0.1816,
      "max": 0.9252
     },
     "image": "/specimens/poisson-surface-reconstruction-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "screened-poisson-surface-reconstruction",
  "marching-cubes",
  "heat-method-geodesics"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "marching-cubes",
   "why": "The indicator volume is contoured with an octree marching-cubes pass."
  }
 ],
 "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/poisson-surface-reconstruction.json"
 },
 "solves": [
  "need a watertight mesh from a point cloud",
  "noisy scan points should become a smooth surface",
  "default meshing after photogrammetry",
  "lidar points with normals to mesh",
  "holes in the reconstructed surface"
 ],
 "authority": "Kazhdan et al., 2006",
 "url": "https://texelatlas.vercel.app/t/poisson-surface-reconstruction/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 17.03,
  "tier": "moderate",
  "p50_ms": 0.5279,
  "p95_ms": 0.5441,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 36,
  "preset_id": "poisson-surface-reconstruction-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 13.58,
   "tier": "moderate",
   "p50_ms": 0.2159,
   "p95_ms": 0.22,
   "speedup_x": 2.45,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 11.37,
   "tier": "moderate",
   "p50_ms": 0.3274,
   "p95_ms": 0.33,
   "speedup_x": 1.61,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}