Hi, I noticed a problem in the ext_light_viewer_capture.cpp example.
When using the PIXEL_BUFFER readback option, the depth image is black.
Reason: The call to
|
depth_pixel_buffers[current]->copy_from_texture(viewer->depth_buffer(), GL_DEPTH_COMPONENT16, GL_FLOAT); |
uses GL_DEPTH_COMPONENT16.
It should be GL_DEPTH_COMPONENT.
Hi, I noticed a problem in the ext_light_viewer_capture.cpp example.
When using the PIXEL_BUFFER readback option, the depth image is black.
Reason: The call to
iridescence/src/example/ext_light_viewer_capture.cpp
Line 61 in 8451c81
uses GL_DEPTH_COMPONENT16.
It should be GL_DEPTH_COMPONENT.