From 5fb92ac2e36fe22e5c4158fafa2c7d8e0664f6c3 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Sat, 22 Jun 2019 10:01:13 +0300
Subject: [PATCH] Dont clamp truncation values

---
 applications/reconstruct/src/scene_rep_hash_sdf.cu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/reconstruct/src/scene_rep_hash_sdf.cu b/applications/reconstruct/src/scene_rep_hash_sdf.cu
index f0739409e..6a3cd2bed 100644
--- a/applications/reconstruct/src/scene_rep_hash_sdf.cu
+++ b/applications/reconstruct/src/scene_rep_hash_sdf.cu
@@ -544,11 +544,11 @@ __global__ void integrateDepthMapKernel(HashData hashData, DepthCameraData camer
 			}*/
 			if (sdf > -truncation) // && depthZeroOne >= 0.0f && depthZeroOne <= 1.0f) //check if in truncation range should already be made in depth map computation
 			{
-				if (sdf >= 0.0f) {
+				/*if (sdf >= 0.0f) {
 					sdf = fminf(truncation, sdf);
 				} else {
 					sdf = fmaxf(-truncation, sdf);
-				}
+				}*/
 
 
 				//printf("SDF: %f\n", sdf);
-- 
GitLab