Diff of /contrib/brl/bseg/boxm2/ocl/cl/expected_functor.cl [5392bd] .. [4dd432]  Maximize  Restore

  Switch to side-by-side view

--- a/contrib/brl/bseg/boxm2/ocl/cl/expected_functor.cl
+++ b/contrib/brl/bseg/boxm2/ocl/cl/expected_functor.cl
@@ -319,6 +319,7 @@
 
 #ifdef RENDER_DEPTH
 void step_cell_render_depth2(float depth,
+                             float block_len,
                              __global float  * alpha_data,
                              int      data_ptr,
                              float    d,
@@ -335,7 +336,8 @@
   (*vis)    *= diff_omega;
   (*expected_depth)+=depth*omega;
   (*expected_depth_square)+=depth*depth*omega;
-  (*t)=depth;
+  (*t)=depth*block_len;
+  //(*t) = depth;
 }
 
 #endif

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks