mkazhdan / PoissonRecon

Poisson Surface Reconstruction
MIT License
1.56k stars 425 forks source link

using --exact in PoissonRecon.exe #295

Open DGhosh23 opened 6 months ago

DGhosh23 commented 6 months ago

Did anyone have issues running PoissonRecon.exe with --exact? I am getting a crash in ExactPointInterpolationInfo. Any help would be greatly appreciated. Thanks!

mkazhdan commented 6 months ago

Sorry. The "--exact" option is kind of experimental and hasn't been stress-tested with all the new changes. Is this something that you had used (and found useful) in the past? If not, I would recommend not using the flag. (Though I will try to look into the cause of the crash in any case.)

mkazhdan commented 6 months ago

I made a pass at fixing the issue with Version 16.04. Hopefully that should do the trick.

DGhosh23 commented 6 months ago

Thank you so much! It works! I was trying to use that parameter in the sense that the point samples would be either exactly interpolated or approximately based on this setting when formulating the implicit function, but quite possibly, I am not interpreting this how it's intended.

mkazhdan commented 6 months ago

That's almost right. The interpolation is "soft" either way. With the --exact flag the code explicitly tracks all the points falling into a cell. Without, it just uses the average.

DGhosh23 commented 6 months ago

Thank you!!