Open billamiable opened 6 years ago
Do you have a reason to expect that the hash table contains an entry for the relevant voxel? If the relevant entry doesn't exist, that's very likely why it's crashing.
I first marked the scene (using spaint) and let it print out the voxel's 3d position, and then use it as the input for readVoxel function at the same frame (read offline data). I assume the hash table will contain in this way...
Or are there any ways to get a voxel that must be contained by the hash table?
I figured it out by using the raycast result. Thanks!
Hi,
I want to use readVoxel function (see below) to read data of manually defined input voxel, like Vector3s loc(a,b,c);
However, when executing I have
*** Failure: /path/spaint/build/bin/apps/spaintgui/spaintgui has crashed ***
When I use Debug mode, the problem lies in this line:ITMHashEntry hashEntry = voxelIndex[hashIdx];
With the debug outputAny idea how to solve it? Thanks!