From 4b283dd1bcf63f7477634e29ad7472afeac9ed4c Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Tue, 17 Sep 2019 08:22:34 +0300 Subject: [PATCH] Minor change to render input --- applications/reconstruct/src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/applications/reconstruct/src/main.cpp b/applications/reconstruct/src/main.cpp index 9f366eea8..6e9ad3685 100644 --- a/applications/reconstruct/src/main.cpp +++ b/applications/reconstruct/src/main.cpp @@ -116,6 +116,8 @@ static void run(ftl::Configurable *root) { bool busy = false; + ftl::rgbd::FrameSet scene; + group.setName("ReconGroup"); group.sync([splat,virt,&busy,&slave](ftl::rgbd::FrameSet &fs) -> bool { //cudaSetDevice(scene->getCUDADevice()); @@ -146,11 +148,11 @@ static void run(ftl::Configurable *root) { if (!slave.isPaused()) { //scene->integrate(); //scene->garbage(); - align.process(fs); + align.process(fs, scene); } // Don't render here... but update timestamp. - splat->render(fs, virt); //, scene->getIntegrationStream()); + splat->render(scene, virt); //, scene->getIntegrationStream()); busy = false; }); return true; -- GitLab