uos / lvr2

Las Vegas Reconstruction 2.0
BSD 3-Clause "New" or "Revised" License
104 stars 18 forks source link

lvr2_reconstruct crashes on some meshes when both --optimizePlanes and --fillHoles are used #13

Open mintar opened 3 years ago

mintar commented 3 years ago

Problem: lvr2_reconstruct crashes on some meshes when both --optimizePlanes and --fillHoles are used

LVR version: 20.11.3 (9bb03a30441b027c39db967318877e03725112d5)

System info: Ubuntu 20.04

How to reproduce:

I've attached some test data here: minimal_examle.ply

../build/bin/lvr2_reconstruct -o -f 15 minimal_examle.ply
[00:00:00 072] Trying to remove all holes with size ≤ 15
[00:00:00 072] Trying to remove all holes  100%
terminate called after throwing an instance of 'lvr2::PanicException'
  what():  Program panicked: attempt to access a non-existing value in an attribute map
[1]    58441 abort (core dumped)  ../build/bin/lvr2_reconstruct -o -f 15 minimal_examle.ply
ennasros commented 2 years ago

Any luck with this? I seem to have a similar issue any time --optimizePlanes is used. I haven't done as extensive of a job diagnosing the issue as above, but did experience it happening for any mesh (using Ubuntu 18.04 with LVR 20.11.3)