Poisson Surface Reconstruction
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.
In the family Geometry, meshing & signed distance fields, surface reconstruction
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | None found | No built-in point-cloud Poisson surface reconstructor. |
| Unity | None found | |
| Unreal 5.7 | None found | |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
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 choose it
Reach for it when
- 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
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.
Field marks
- 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
Presets
Poisson Surface Reconstruction — oriented point cloud normals (left) vs watertight implicit solve (right)
{
"P_POINT_DENS": 11,
"P_ISO_CONTOUR": 0.65,
"P_ROT_SPEED": 0.7,
"P_SPLIT": 0.48
}Show GLSL (127 lines)
const float P_POINT_DENS = 11.0; // P Point Density [6.0, 20.0, 1.0]
const float P_ISO_CONTOUR = 0.65; // P Indicator Field [0.0, 1.5, 0.05]
const float P_ROT_SPEED = 0.70; // P Spin Speed [0.0, 2.2, 0.05]
const float P_SPLIT = 0.48; // P Cloud / Poisson Split [0.0, 1.0, 0.02]
mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }
vec3 hash33(vec3 p) {
p = fract(p * vec3(0.1031, 0.1030, 0.0973));
p += dot(p, p.yxz + 33.33);
return fract((p.xxy + p.yxx) * p.zyx);
}
float smin(float a, float b, float k) {
float h = clamp(0.5 + 0.5 * (b - a) / max(k, 1e-4), 0.0, 1.0);
return mix(b, a, h) - k * h * (1.0 - h);
}
// Sculpted genus-1 organic sculpture (ground-truth watertight Poisson indicator zero-level set)
float mapSurface(vec3 p, float spin) {
vec3 q = p;
q.xz = rot2(spin * 0.6) * q.xz;
q.yz = rot2(0.38) * q.yz;
vec2 t1 = vec2(length(q.xz) - 0.46, q.y);
float dTor = length(t1) - 0.24;
float dOrb1 = length(q - vec3(0.0, 0.30, 0.0)) - 0.30;
float dOrb2 = length(q - vec3(0.0, -0.30, 0.0)) - 0.28;
return smin(dTor, min(dOrb1, dOrb2), 0.20) * 0.88;
}
vec3 calcNormal(vec3 p, float spin) {
vec2 e = vec2(0.0020, 0.0);
return normalize(vec3(
mapSurface(p + e.xyy, spin) - mapSurface(p - e.xyy, spin),
mapSurface(p + e.yxy, spin) - mapSurface(p - e.yxy, spin),
mapSurface(p + e.yyx, spin) - mapSurface(p - e.yyx, spin)
));
}
vec3 aces(vec3 x) {
x = max(x, 0.0);
return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
float screenX = fragCoord.x / max(iResolution.x, 1.0);
float split = clamp(P_SPLIT, 0.0, 1.0);
bool isPoisson = screenX >= split;
float dens = clamp(floor(P_POINT_DENS + 0.5), 6.0, 22.0);
float isoVis = clamp(P_ISO_CONTOUR, 0.0, 1.5);
float spin = iTime * max(P_ROT_SPEED, 0.0);
vec3 ro = vec3(0.0, 0.04, 2.38);
vec3 rd = normalize(vec3(uv, -1.55));
vec3 col = mix(vec3(0.024, 0.034, 0.056), vec3(0.068, 0.088, 0.138), smoothstep(-0.55, 0.55, uv.y));
// Subtle background Poisson indicator scalar field chi(x) slice in the z=0 plane
float tZ0 = (0.0 - ro.z) / rd.z;
vec3 pZ0 = ro + rd * tZ0;
float dSlice = mapSurface(pZ0, spin);
float chiField = 1.0 / (1.0 + exp(dSlice * 7.5)); // smooth indicator function chi in [0, 1]
float isoRing = smoothstep(0.08, 0.015, abs(fract(dSlice * 8.0) - 0.5)) * exp(-abs(dSlice) * 2.2);
col += mix(vec3(0.10, 0.42, 0.72), vec3(0.95, 0.56, 0.22), chiField) * isoRing * 0.28 * min(isoVis, 1.2);
float t = 0.0;
bool hit = false;
for (int i = 0; i < 64; i++) {
float d = mapSurface(ro + rd * t, spin);
if (d < 0.002) { hit = true; break; }
t += d;
if (t > 7.5) break;
}
if (hit) {
vec3 p = ro + rd * t;
vec3 n = calcNormal(p, spin);
vec3 objP = p;
objP.xz = rot2(spin * 0.6) * objP.xz;
objP.yz = rot2(0.38) * objP.yz;
if (!isPoisson) {
// Left: Sparse oriented point-cloud input (positions + surface normals V(p)) with empty gaps between points!
vec3 g = objP * dens;
vec3 cell = floor(g);
float minD = 1e5;
for (int dz = -1; dz <= 1; dz++) {
for (int dy = -1; dy <= 1; dy++) {
for (int dx = -1; dx <= 1; dx++) {
vec3 nb = cell + vec3(float(dx), float(dy), float(dz));
vec3 pt = (nb + 0.18 + 0.64 * hash33(nb)) / dens;
// Project onto surface tangent plane to mimic real scanned point cloud
vec3 ptOnSurf = pt - n * dot(pt - objP, n);
minD = min(minD, length(objP - ptOnSurf));
}
}
}
float ptRad = 0.34 / dens;
float ptMask = smoothstep(ptRad, ptRad * 0.55, minD);
// Normal-encoded RGB color shows each sample carries an oriented normal vector!
vec3 normCol = n * 0.5 + 0.5;
// Faint inner ghost hull so 3D form reads cleanly between sparse oriented surfels
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));
col = mix(mix(col, ghost, 0.55), normCol * 1.15, ptMask);
} else {
// Right: Watertight smooth isosurface extracted from solving Delta(chi) = div(V)
vec3 l1 = normalize(vec3(0.58, 0.84, 0.52));
vec3 l2 = normalize(vec3(-0.72, -0.22, 0.50));
float diff = max(dot(n, l1), 0.0) * 0.86 + max(dot(n, l2), 0.0) * 0.24;
float spec = pow(max(dot(n, normalize(l1 - rd)), 0.0), 54.0);
float rim = pow(1.0 - max(dot(n, -rd), 0.0), 3.0);
vec3 alb = vec3(0.84, 0.82, 0.78);
col = alb * (0.24 + 0.84 * diff) + vec3(0.98) * spec * 0.52 + vec3(0.32, 0.74, 0.98) * rim * 0.32;
// Subtle topographic iso-elevation contours from the smooth indicator field
float surfIso = smoothstep(0.06, 0.015, abs(fract(objP.y * 8.0) - 0.5));
col = mix(col, vec3(0.12, 0.48, 0.72), surfIso * 0.20 * min(isoVis, 1.2));
}
}
float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
col = mix(col, vec3(0.95, 0.97, 1.0), sep);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: MIT — written for this index.
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| poisson-surface-reconstruction-live | Tesla T4 1920x1080 | 17.0× baseline (moderate) · 0.528 ms / 0.544 ms | opengl-timer-query · 36 frames · GPU Weight Atlas · Colab T4 sweep |
| poisson-surface-reconstruction-live | NVIDIA L4 1920x1080 | 13.6× baseline (moderate) · 0.216 ms / 0.220 ms · 2.5× faster on L4 | opengl-timer-query · Cross-architecture validation |
| poisson-surface-reconstruction-live | NVIDIA A100-SXM4-40GB 1920x1080 | 11.4× baseline (moderate) · 0.327 ms / 0.330 ms · 1.6× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): cited by Neuralangelo.
Crosses
- Watertight scan-to-simulation pipeline via Poisson reconstruction and isotropic remeshing: Cleaning the skinny marching-cubes sliver triangles produced by screened Poisson surface reconstruction with Botsch-Kobbelt isotropic remeshing turns raw oriented point-cloud scans directly into simulation-ready, nearly equilateral watertight meshes.
- Marching Cubes: The indicator volume is contoured with an octree marching-cubes pass.
Sources
- primaryMichael Kazhdan, Matthew Bolitho, Hugues Hoppe (2006). Poisson Surface Reconstruction. Symposium on Geometry Processing.Verified via doi.org · 2026-11-29doi:10.2312/sgp/sgp06/061-070
- primaryMichael Kazhdan. Poisson Surface Reconstruction. cs.jhu.edu.Verified via live page · 2026-11-29
- implementationmkazhdan (2015). mkazhdan/PoissonRecon. Poisson Surface ReconstructionGitHub API · license MIT · 2026-11-29