Skip to content
Snippets Groups Projects
Commit d33535d0 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Transparent vis

parent 90bfabd4
No related branches found
No related tags found
1 merge request!160Implements #233 cross support region for MLS
Pipeline #16239 passed
......@@ -95,7 +95,8 @@ __global__ void vis_support_region_kernel(TextureObject<uchar4> colour, TextureO
for (int u=-baseY.x; u<=baseY.y; ++u) {
if (x+u < 0 || y+v < 0 || x+u >= colour.width() || y+v >= colour.height()) continue;
colour(x+u, y+v) = make_uchar4(255,0,0,0);
uchar4 col = colour.tex2D(x+u, y+v);
colour(x+u, y+v) = make_uchar4(255,col.y,col.z,0);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment