fwilliams / surface-reconstruction-benchmark

A working copy of the code from "A Benchmark for Surface Reconstruction" by Berger et. Al
BSD 2-Clause "Simplified" License
51 stars 15 forks source link

./build/implicit_uniform implicit_surface num_samples Problem #10

Open jbkvhz opened 2 years ago

jbkvhz commented 2 years ago

The implicit_uniform program is unable to create a .npts file for my own data. I receive an error saying that the points should be removed, and energy is labeled as nan. It runs fine on the example bumps. Any suggestions?

jairedc commented 2 years ago

Adding onto this, it seems like whenever implicit_sampler.cpp:268 provides a nan value to pt_function, pt_gradient is full of nan. This turns pt into a nan as well from addition on implicit_sampler.cpp:277.