/bin/onlinefusion only works once
atenpas opened this issue ยท 5 comments
/bin/onlinefusion only worked once after running make. At that time, it correctly displayed the map generated from the RGBD dataset. Since then, nothing is displayed in the viewer anymore (there are no errors shown in the terminal).
The same issue happened to me. But I found it still can save the mesh by pressing W.
@kentsommer
I experienced the same ๐
It is even already explained in the documentation: After some debugging output on the console, a window with a 3D viewer should open. To start the reconstruction process, press "S".
If you run the program for the first time, press and hold the CTRL key and turn your scroll wheel. This is only needed once to "free" the camera viewpoint. After this, you can pan (right click) and rotate (left click) the view as you wish using your mouse.
I had the the same question, and I fix it by add a line in onlinefusionviewer.hpp. In fuction void OnlineFusionViewerManipulated::keyPressEvent(QKeyEvent *e), there're codes like this and I add a line setScenePosition(_poses[0][0]);
if ((e->key()==Qt::Key_S) && (modifiers==Qt::NoButton))
{
if(_verbose) fprintf(stderr,"\n\nSwitching Fusion %s\n",_runFusion ? "off" : "on");
_runFusion = !_runFusion;
if(_runFusion){
connect(_timer,SIGNAL(timeout()),this,SLOT(updateSlot()));
_fusionActive = true;
}
else{
disconnect(_timer,SIGNAL(timeout()),this,SLOT(updateSlot()));
_fusionActive = false;
}
handled = true;
setScenePosition(_poses[0][0]); /////////THIS IS THE LINE I ADD IN THIS FUCTION/////////
// updateGL();
}
By adding this line, your scene pose is set as the 1st pose of your camera when you press 'S', so you don't have to zoom or rotate to find the proper viewpoint.
I am confused in the same problem.I try to delete my cmake folder "build folder",then it works well for me.but it isn't a fundamental resolution.
After that I fix it. When you cannot see anything,the program is still draw the picture.you can press "N"to see it.