mkazhdan/PoissonRecon
Poisson Surface Reconstruction
What it solves
Traditional surface reconstruction from point clouds (like 3D scans) needs to turn a set of points with direction (normals) into a smooth triangle mesh. This project provides a way to do that by solving a Poisson equation—a mathematical model that finds a surface that best fits the given oriented points. More broadly, the codebase has grown to handle general adaptive finite-element problems, meaning it can solve partial differential equations in any number of dimensions, with flexible polynomial approximations, anywhere that adaptive refinement is useful.
How it works
The core idea is to build an adaptive octree (a hierarchical grid) that refines only where there are more samples. On this grid, it sets up a finite-element system: it writes down equations that relate the unknown surface function to the given point constraints. Then it uses a multigrid solver—an efficient iterative method that works from coarse to fine levels—to find the solution. The main executable, PoissonRecon, takes a file of oriented points (positions plus normals) and outputs a triangle mesh. It also supports many options: you can choose the degree of B-spline basis functions, the boundary conditions (free, Dirichlet, Neumann), the depth of the octree, and whether to interpolate points exactly (screened Poisson) or not. The implementation is optimized for specific settings but can be recompiled for more flexibility.
Who it’s for
This is aimed at researchers and developers working in computer graphics, geometry processing, or numerical analysis. It's particularly useful if you need high-quality surface reconstruction from laser scans or other point-cloud sources, or if you need to solve adaptive finite-element problems in arbitrary dimensions. The project is academic in origin, with many linked papers, so it's likely used in research contexts.
Highlights
- Started as Poisson surface reconstruction, now supports general adaptive finite-element problems.
- Works in arbitrary dimensions, with finite elements of any degree, and can involve derivatives and different types of constraints.
- Includes an executable (PoissonRecon) that takes oriented point clouds and outputs triangle meshes.
- Offers many tunable parameters: B-spline degree, boundary type, reconstruction depth, sample density, interpolation weight, and more.
- Can output the sampled implicit function as a grid, or the octree and solution coefficients.
- Supports large data with optional 64-bit indexing.
- Uses Boost for cross-platform sockets and libjpeg-turbo for JPEG support (configurable).
Related
- Project
- Project
- Project
- Project