Skip to content
Snippets Groups Projects

Partial work on filling

Merged Nicolas Pope requested to merge feature/193/filling into master
4 files
+ 15
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -176,7 +176,8 @@ __global__ void mask_filter_kernel(
const int y = blockIdx.y*blockDim.y + threadIdx.y;
if (x >= 0 && x < depth.width() && y >=0 && y < depth.height()) {
if (mask.tex2D(x,y) > 0) {
Mask m(mask.tex2D(x,y));
if (m.isFilled()) {
depth(x,y) = MINF;
}
}
Loading