pc2vol version 866bd0b crashes with this input, which is supposed to have perfect normals.
The crash occurs before opening the GUI, so we can not easily change the value of the parameters. We tested with several values of gridstep and area-scale-factor parameters, without success.
Example:
$ pc2vol -i cylinder_5_radius_0.4_length_2.0_point_cloud.xyz --gridstep 0.02 --area-scale-factor 0.01 -o /datademo/bidon.vol --visu
[polyscope] Backend: openGL3_glfw -- Loaded openGL version: 4.5 (Core Profile) Mesa 21.2.6
Point cloud 7935 points bbox: (-1.43142, 0.6, -0.4) (1.43142, 1.4, 0.4)
Digital domain = 291060 0x5b99ee1a1340
pc/voxels X scale factor = 0.0262778
pc/voxels Y scale factor = 0.0409091
pc/voxels Z scale factor = 0.04
New Block [WindingNumber BVH]
[WindingNumberShape] Skipping the CGAL point area estimation. By default, point areas are set to 1.0
EndBlock [WindingNumber BVH] (3237.04 ms)
Number of queries = 291060
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
pc2vol version 866bd0b crashes with this input, which is supposed to have perfect normals. The crash occurs before opening the GUI, so we can not easily change the value of the parameters. We tested with several values of gridstep and area-scale-factor parameters, without success. Example: