Integration of the Oculus SDK into Magnum.
This example requires you to have the Oculus Runtime 1.3.0 or newer installed. Since Oculus only supports Windows, the same holds for the example. If you don't own a HMD, you can still try the example. If no device is connected, it will create a debug HMD instead.
- F11 — toggle performance HUD
- F12 — toggle stereo debug HUD
- M — toggle mirroring
- Escape — close the application
Full source code is linked below and also available in the magnum-examples GitHub repository. This example depends on the OvrIntegration library which is not a part of the core Magnum repository, see its documentation for usage instructions.