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

Improve confidence render

parent 53c0517c
No related branches found
No related tags found
1 merge request!122Implements #183 depth ray correspondences
......@@ -377,6 +377,10 @@ const GLTexture &ftl::gui::Camera::captureFrame() {
switch(channel_) {
case Channel::Confidence:
if (depth_.rows == 0) { break; }
visualizeEnergy(depth_, tmp, 1.0);
texture_.update(tmp);
break;
case Channel::Energy:
if (depth_.rows == 0) { break; }
visualizeEnergy(depth_, tmp, 10.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