-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
just in case anyone faces segmentation fault when running marching cubes to save mesh:
res = args.marching_cubes_res or 256
...
testbed.compute_and_save_marching_cubes_mesh
...
i find that removing the folder dependencies/pybind11 and git clone https://github.com/pybind/pybind11.git to replace this pybind11 works well.
when i debug segmentation fault i find running ngp.BoundingBox([0.0, 0.0, 0.0], [1.0, 1.0, 1.0]) causes segmentation fault but ngp.BoundingBox() doesn't.
i suspect is my own numpy/python (as i didn't exactly follow the installation) may be too new, therefore the bridge pybind11 might be old too (as it was 2 years ago's repo) so i remove pybind11 and uses latest pybind11 and fixes segmentation fault!
(not familiar with c++ and pybind11 so i cannot sure what was the exact reason but probably some format issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels