Open MicheleMola opened 8 years ago
@MicheleMola
This is almost for sure simply a view point issue. Try zooming out from this window and you should start seeing things. The startup viewpoint is a little odd.
Also seeing a black window, and I've tried zooming in and out quite a bit. Should the reconstruction appear immediately after pressing "S" or after the completion of all the frames.
@gnedivad
You should start seeing reconstruction immediately after pressing S although if you don't mess with the viewpoint after pressing S you may just see black. Try running without "--thread-fusion", also remember this: "If you run the program for the first time, press and hold the CTRL key and turn your scroll wheel to unlock the viewer."
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.
@LuSiYing
I followed your solution. But after I press 'S', the program crashed immediately, here is the screenshot of the output of my terminal.
Did you meet the same issue? And how did you solve it?
@kentsommer @gnedivad @MicheleMola Do you have any suggestions?
@gnedivad
You should start seeing reconstruction immediately after pressing S although if you don't mess with the viewpoint after pressing S you may just see black. Try running without "--thread-fusion", also remember this: "If you run the program for the first time, press and hold the CTRL key and turn your scroll wheel to unlock the viewer."
i remeber that for the first time, it did showup. But after that, it does reconstrcution, but does not show the qt fusion screen
There aren't error but the window fusion volume is black. It doesn't contain the reconstruction. Thank you.