dolphin-li / DynamicFusion

An implementation of the CVPR best paper Dynamic Fusion
102 stars 42 forks source link

Crashes with higher voxel resolutions #4

Open FraserJB opened 4 years ago

FraserJB commented 4 years ago

Firstly - this software is an amazing piece of work! Truly impressive and really well implemented. Great fun to play with as well.

I am having an issue that: Whenever "resolution" corresponding to radio button 3(384) or 5(512) for any of x,y or z is selected in the GUI, the program crashes-out. A little digging shows this corresponds to the following area of code:

dynamicfusionui.cpp------- [example of the code that sets the y resolution to 512 ]---------

void DynamicFusionUI::on_rbResY512_clicked() { try { g_dataholder.m_dparam.volume_resolution[1] = 512; g_dataholder.m_processor.updateParam(g_dataholder.m_dparam); } catch (std::exception e) { std::cout << e.what() << std::endl; }

The "command prompt" reports the following before exiting:

CUDA error (GpuMesh::unlockVertsNormals()): invalid resource handle QThread: Destroyed while thread is still running

I'd appreciate any idea on solving this (or working around it). It seems to happen no matter how many "voxels per m" are used.

Thanks. Fraser

Chang-Che-Kuei commented 3 years ago

It seems that you successfully built this project. How was the performance in quality and speed? And how is it compared to the original work?