tum-vision / fastfusion

Volumetric 3D Mapping in Real-Time on a CPU
GNU General Public License v2.0
559 stars 173 forks source link

Window fusion volume black #12

Open MicheleMola opened 8 years ago

MicheleMola commented 8 years ago

There aren't error but the window fusion volume is black. It doesn't contain the reconstruction. Thank you.

schermata 2015-10-29 alle 17 39 00

kentsommer commented 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.

gnedivad commented 8 years ago

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.

kentsommer commented 8 years ago

@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."

LuSiYing commented 7 years ago

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.

rayleizhu commented 5 years ago

@LuSiYing

I followed your solution. But after I press 'S', the program crashed immediately, here is the screenshot of the output of my terminal. image

Did you meet the same issue? And how did you solve it?

@kentsommer @gnedivad @MicheleMola Do you have any suggestions?

Gowtham171996 commented 2 years ago

@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