CGAL / cgal

The public CGAL repository, see the README below
https://github.com/CGAL/cgal#readme
Other
4.82k stars 1.36k forks source link

Poisson Reconstruction crashes with high density datasets #4996

Open sgiraudot opened 3 years ago

sgiraudot commented 3 years ago

Issue Details

Our version of Poisson is not robust at all and is very prone to crashes and memory explosions. This happens a lot for densely sampled point clouds. The reason is that the support Delaunay 3D uses all points of the input + a refinement step, which can lead to an overly dense triangulation for no gain in quality.

I have 2 leads on how to solve this:

Dataset

An example dataset that makes CGAL Poisson run for 20 minutes before memory explosion. Note that there are a few misoriented normals, but the Meshlab version of Poisson manages to create a correct output in a few minutes on this dataset, so this should not be a problem.

MaelRL commented 3 years ago

Would be interesting to see if the octree-only Screened Poisson suffers from the same issues, since it already has the benefit of giving better results (from a quality PoV) than Delaunay-based Poisson.