In this recipe, we are going to show you how we can use two features of
openni::VideoStream that give us the ability to mirror or crop frames right from the device itself. This ability is available for all three outputs based on
For saving more space, we decided to use the code from the Reading and showing a frame from the image sensor (color/IR) recipe of Chapter 3, Using Low-level Data, as a template and show you only the changes.
Create a project in Visual Studio 2010 and prepare it for working with OpenNI using the Creating a project in Visual Studio 2010 recipe of Chapter 2, OpenNI and C++. Then, configure Visual Studio 2010 to use OpenGL with the Configuring ...