Skip to content
Snippets Groups Projects
Commit 4b283dd1 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Minor change to render input

parent ffa04e6b
No related branches found
No related tags found
1 merge request!109Resolves #173 remove voxel code
Pipeline #13660 failed
...@@ -116,6 +116,8 @@ static void run(ftl::Configurable *root) { ...@@ -116,6 +116,8 @@ static void run(ftl::Configurable *root) {
bool busy = false; bool busy = false;
ftl::rgbd::FrameSet scene;
group.setName("ReconGroup"); group.setName("ReconGroup");
group.sync([splat,virt,&busy,&slave](ftl::rgbd::FrameSet &fs) -> bool { group.sync([splat,virt,&busy,&slave](ftl::rgbd::FrameSet &fs) -> bool {
//cudaSetDevice(scene->getCUDADevice()); //cudaSetDevice(scene->getCUDADevice());
...@@ -146,11 +148,11 @@ static void run(ftl::Configurable *root) { ...@@ -146,11 +148,11 @@ static void run(ftl::Configurable *root) {
if (!slave.isPaused()) { if (!slave.isPaused()) {
//scene->integrate(); //scene->integrate();
//scene->garbage(); //scene->garbage();
align.process(fs); align.process(fs, scene);
} }
// Don't render here... but update timestamp. // Don't render here... but update timestamp.
splat->render(fs, virt); //, scene->getIntegrationStream()); splat->render(scene, virt); //, scene->getIntegrationStream());
busy = false; busy = false;
}); });
return true; return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment