Specifications
Figure 1.15: The typical loop for conventional applications
The details can be abstracted in many ways, but for just about any program you can
eventually look at it as an implementation of this loop. For as long as the application is
running, it responds to any user input, renders a frame and outputs that frame to the display.
RIFT APPLICATIONS
Rift-specific applications embellish this loop, as seen in Figure 1.16.
Figure 1.16: A typical loop for a Rift application
In addition to conventional user input, we have another step which fetches the current head
pose from the Rift. This is typically used by the application to change how it renders the
frame. Specifically, if you’re rendering a 3D virtual environment, you want the view of the
scene to change in response to the user’s head movements.
©Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and
other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.
https://forums.manning.com/forums/oculus-rift-in-action
19