dazinovic / neural-rgbd-surface-reconstruction

Official implementation of the CVPR 2022 Paper "Neural RGB-D Surface Reconstruction"
https://dazinovic.github.io/neural-rgbd-surface-reconstruction/
586 stars 59 forks source link

Segmentation fault (core dumped) with cull_mesh script #25

Closed yashbhalgat closed 2 years ago

yashbhalgat commented 2 years ago

Hi @dazinovic, as you suggested in https://github.com/dazinovic/neural-rgbd-surface-reconstruction/issues/13#issuecomment-1129218530, I tried to run the transform_mesh.py and cull_mesh.py scripts on the morning_apartment data.

But I get a segmentation fault (core dumped) error with the cull_mesh script. Do you have any advice how I can resolve this error?

P.S.: I think the error occurs on the following line in cull_mesh.py: depth_maps = rendering.render_depth_maps_doublesided(mesh, poses, H, W, fov, 10.0)

yashbhalgat commented 2 years ago

Solved this by uncommenting os.environ['PYOPENGL_PLATFORM'] = 'egl' in the cull_mesh.py script.