I’m wondering how you can change the intensity of the illumination for the structure sensor using C++ code. I’ve used the sample code for SimpleRead, looking at the IR frames, and compared with IR frames captured using the NIViewer tool. The IR frames differ quite a bit.
Is it possible that you ran into the same problem I did here ?
It really cost me countless hours until I figured out that the projector is only turned on when the depth stream is opened as well.
Hope that helps