Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/onlinefusion only works once #8

Open
atenpas opened this issue Nov 18, 2014 · 5 comments
Open

/bin/onlinefusion only works once #8

atenpas opened this issue Nov 18, 2014 · 5 comments

Comments

@atenpas
Copy link

atenpas commented Nov 18, 2014

/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).

@DForger
Copy link

DForger commented May 30, 2016

The same issue happened to me. But I found it still can save the mesh by pressing W.

@kentsommer
Copy link

@DForger @atenpas

I'm correctly having it display in the viewer, make sure you aren't just looking at a strange viewpoint by zooming out (try scrolling). The default startup viewpoint is pretty weird and doesn't show you anything if you just pan.

@MichaelGrupp
Copy link

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

@LuSiYing
Copy link

LuSiYing commented Mar 7, 2017

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.

@wuxiaoqiang12
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants