PC SDK Developer Guide

Native SDK

Welcome to the PC SDK Developer Guide.

This guide describes how to use the PC SDK and covers the following topics:

  • Sensor initialization
  • Rendering and advanced rendering
  • VR focus management
  • Spatialized audio
  • Oculus Touch

Additionally, it contains information on the SDK samples, the Oculus Debug Tool, and the Performance HUD.

  • LibOVR Integration The Oculus SDK is designed to be as easy to integrate as possible. This guide outlines a basic Oculus integration with a C/C++ game engine or application.
  • Initialization and Sensor Enumeration This example initializes LibOVR and requests information about the available HMD.
  • Rendering to the Oculus Rift The Oculus Rift requires split-screen stereo with distortion correction for each eye to cancel lens-related distortion.
  • Advanced Rendering Configuration By default, the SDK generates configuration values that optimize for rendering quality.
  • Oculus Dash This section introduces Oculus Dash for the PC-SDK.
  • VR Focus Management When you submit your application to Oculus, you provide the application and metadata necessary to list it in the Oculus Store and launch it from Oculus Home.
  • Oculus Guardian System The Oculus Guardian System is designed to display in-application wall and floor markers when users get near boundaries they defined. When the user gets too close to the edge of a boundary, translucent boundary markers are displayed in a layer that is superimposed over the game or experience.
  • Rift Audio When setting up audio for the Rift, you need to determine whether the Rift headphones are active and pause the audio when your app doesn’t have focus.
  • Oculus Touch Controllers This section describes Oculus Touch best practices gathered from developing and reviewing large numbers of games and experiences. These are not requirements and we expect them to evolve over time.
  • SDK Samples and Gamepad Usage Some of the Oculus SDK samples use gamepad controllers to enable movement around the virtual world.
  • Oculus Debug Tool The Oculus Debug Tool (ODT) enables you to view performance or debugging information within your game or experience. It also enables you to tune or configure related parameters, such as the field of view (FOV) size for a mirrored flat-screen view of the VR experience (which could be streamed to an audience in a more comfortable viewing format).
  • Optimizing Your Application To provide the best user experience, your application must meet or exceed the minimum requirements to be considered for publication on the Oculus Store.
  • Pairing the Oculus Touch Controllers After you receive your Touch Controllers, you need to pair them with the headset.
  • Asynchronous SpaceWarp Asynchronous Spacewarp (ASW) is a frame-rate smoothing technique that almost halves the CPU/GPU time required to produce nearly the same output from the same content.
  • Mixed Reality Capture Mixed reality capture places real-world people and objects in VR. This guide will review how to add support for mixed reality capture in your native Rift app.