concept tracker in category oculus rift

This is an excerpt from Manning's book Oculus Rift in Action.
Remember, the Rift is really two discrete devices in one: the tracker and the display. Both are accessed through the Oculus Rift Software Development Kit. The tracker will send streams of packets as messages, instances of OVR::Message, that you would normally read directly from the device via the SDK. We discuss the mechanics of this in detail in Chapter 2. The display is also identified through the SDK, and once you’ve targeted the target video device, you’ll need to render images to that device with exactly the correct aspect ratio and optical distortion. Chapter 4 delves into those optical details.
In this section we will cover a minimal example of using the tracker to fetch the current head pose of the Rift. Most of the examples that relate to the display, and the bulk of the code in this book in general will be creating GUI applications. For working with just the sensor, we find it easier to work with a text-mode console application as in figure 2.4.
Figure 2.4: Getting input from the head tracker
![]()