oculus rift diagram

Oculus VR. Inc has just announced that the Oculus Rift SDK has been updated to v0.2.1. Changes to the SDK include initial magnetometer-based drift correction, support for chromatic abberation correction, Mac OSX comaptibility for the c++ OculusWorldDemo and Unity integration, and more.

You can find the latest SDK download at the official Oculus Developer Center.

The initial magnetometer yaw drift support is likely to make developers happy. The Oculus Rift IMU/head tracker shipped with a built in magnetometer — a device that measures the Earth’s magnetic fields — but it has been inactive until now. The function of the magnetometer is to correct for yaw drift.

Drift happens when small errors in the tracker build up and eventually the unit thinks that it is pointing one direction when it reality it has ‘drifted’ elsewhere.

For example: you put on the Rift with virtual North and real North aligned, spin around for a little while, then return looking at virtual North. If the IMU has drifted, virtual North and real North will no longer be aligned. In use this might mean that you are facing your desk in real life but the virtual ‘forward’ direction may have drifted, which is problematic for obvious reasons.

The magnetometer uses the Earth’s magnetic field as a frame of reference to correct for IMU drift. It’s unclear at this point why Oculus didn’t have drift correction enabled in the first place, but now that it’s here developers can start using it in their programs.

The full patch notes are as follows:

New Features

  • Added initial magnetometer-based yaw drift correction. Press ‘X’ and ‘Z’ keys to calibrate in OculusWorldDemo.
  • Added support for chromatic aberration correction.
  • Added Mac OSX support to C++ OculusWorldDemo and Unity integration.
  • Redesigned SDK internals to make use of portable HID abstraction layer.
  • Added motion prediction to OculusWorldDemo app, it can be toggled with ‘P’ key.


  • Exposed new properties in OVRCameraController to toggle prediction, chromatic aberration, etc.
  • Added 64-bit Windows support.
  • Fixed deferred rendering shadow issues with Rift integration.

Bux Fixes

  • Modified StereoConfig to adjust projection center based on lens centers instead of IPD; this approach is correct considering collimated light.
  • Fixed renderer crash triggered on HD3000 when mip-maps were dropped.
  • Fixed occasional USB re-opening issues when USB connector is plugged back in.
  • Adjusted reported distance between lens centers to 63.5 mm.

See All Oculus Rift News

Newsletter graphic

This article may contain affiliate links. If you click an affiliate link and buy a product we may receive a small commission which helps support the publication. More information.

Ben is the world's most senior professional analyst solely dedicated to the XR industry, having founded Road to VR in 2011—a year before the Oculus Kickstarter sparked a resurgence that led to the modern XR landscape. He has authored more than 3,000 articles chronicling the evolution of the XR industry over more than a decade. With that unique perspective, Ben has been consistently recognized as one of the most influential voices in XR, giving keynotes and joining panel and podcast discussions at key industry events. He is a self-described "journalist and analyst, not evangelist."