diff --git a/applications/gui/src/camera.cpp b/applications/gui/src/camera.cpp index 892ba32e84e35c99c6d89bb9a1253e30b0ecf675..eedf63ffd5292edf71301bc2cbca63cbf1484d5c 100644 --- a/applications/gui/src/camera.cpp +++ b/applications/gui/src/camera.cpp @@ -306,7 +306,7 @@ const GLTexture &ftl::gui::Camera::captureFrame() { case ftl::rgbd::kChanDepth: if (depth.rows == 0) { break; } visualizeDepthMap(depth, tmp, 7.0); - drawEdges(rgb, tmp); + if (screen_->root()->value("showEdgesInDepth", false)) drawEdges(rgb, tmp); texture_.update(tmp); break; diff --git a/applications/reconstruct/src/dibr.cu b/applications/reconstruct/src/dibr.cu index bdd00de4412146a1979f2dbcd2d0f664d7db525a..a91ae7b87fbc17b88d3aa30721107ef7174ac37f 100644 --- a/applications/reconstruct/src/dibr.cu +++ b/applications/reconstruct/src/dibr.cu @@ -541,7 +541,7 @@ __global__ void dibr_attribute_contrib_kernel( // Is this point near the actual surface and therefore a contributor? const float d = ((float)depth_in.tex2D((int)screenPos.x, (int)screenPos.y)/1000.0f); - if (abs(d - camPos.z) > DEPTH_THRESHOLD) return; + //if (abs(d - camPos.z) > DEPTH_THRESHOLD) return; // TODO:(Nick) Should just one thread load these to shared mem? const float4 colour = make_float4(tex2D<uchar4>(camera.colour, x, y));