Coder Social home page Coder Social logo

Comments (5)

LuSiYing avatar LuSiYing commented on July 25, 2024 2

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.

from fastfusion.

kentsommer avatar kentsommer commented on July 25, 2024 1

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

from fastfusion.

wuxiaoqiang12 avatar wuxiaoqiang12 commented on July 25, 2024 1

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.

from fastfusion.

DForger avatar DForger commented on July 25, 2024

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

from fastfusion.

MichaelGrupp avatar MichaelGrupp commented on July 25, 2024

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

from fastfusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.