Augmented Reality Oculus Rift

Markus Höll, Nikolaus Heran, Vincent LepetitarXiv 2016

Abstract

This paper presents the development of a high-immersion "video see-through" Augmented Reality (AR) system constructed by retrofitting an Oculus Rift DK1 with dual industrial fish-eye cameras. By implementing a custom DirectX 11 stereoscopic engine, we address the narrow field-of-view (FOV) limitations of contemporary optical see-through devices. Key technical contributions include GPU-accelerated lens undistortion using Scaramuzza’s omnidirectional model and a manual multi-threaded capture handler to overcome USB 2.0 bandwidth constraints. The resulting prototype enables full-field augmentation with stable 3D holographic overlays in real-time.

Introduction

In the mid-2010s, Augmented Reality (AR) faced a significant "immersion gap." Optical see-through devices, such as Microsoft HoloLens, offered digital overlays but were constrained by a very narrow field of view. Conversely, Virtual Reality (VR) headsets like the Oculus Rift provided deep immersion but isolated users from their physical surroundings. This work bridges that gap by creating a video see-through AR system. By mounting cameras on a VR headset, the real world is captured, processed, and re-projected to the user alongside 3D virtual content. This approach allows for a full-field AR experience where digital objects can occupy the user's entire visual range.

System Architecture and Methodology

The project involved a combination of hardware modification and the development of a bespoke software stack designed for low-latency performance.

Hardware Configuration

The prototype utilizes an Oculus Rift DK1 as the display unit. Two IDS uEye industrial cameras equipped with wide-angle fish-eye lenses were mounted to a custom plastic plate on the front of the headset. This physical setup provides the stereo video feed necessary for depth perception.

Calibration and Mathematical Modeling

To correct the extreme distortion inherent in fish-eye lenses, we employed Scaramuzza’s omnidirectional camera model via the OCamCalib toolbox. This model uses a polynomial function to map 3D vectors to 2D image pixels, which is critical for accurate spatial alignment.

Coordinate mapping and projection model for omnidirectional cameras.

The Custom Rendering Engine

A dedicated engine was built from the ground up using C++ and DirectX 11 to ensure "on the metal" control over the rendering pipeline.

  • GPU-Accelerated Undistortion: Traditional CPU-based undistortion (e.g., via OpenCV) proved too slow for real-time applications. We implemented the lens undistortion logic directly within a fragment shader, leveraging the GPU to maintain high frame rates.
  • Stereoscopic Projection: The engine performs two render passes, translating the virtual camera by approximately 32mm for each eye to match the average human interpupillary distance.
  • Background Rendering: To ensure virtual 3D models appear correctly "on top" of the physical world, the camera stream is rendered as an orthogonal background plane without z-buffering.
Comparison of raw fish-eye camera input versus the GPU-undistorted output using a checkerboard pattern.

Technical Challenges and Insights

One significant hurdle was the limitation of USB 2.0 bandwidth. Standard libraries were unable to handle two high-speed camera streams over a single hub simultaneously. We resolved this by developing a manual multi-threaded capture handler using low-level manufacturer drivers to synchronize frames effectively.

Furthermore, by bypassing high-level engines like Unity or Unreal, we achieved the precise control needed to minimize latency—a critical factor in preventing motion sickness in video see-through systems. This "hardware's metal" performance allowed the system to handle complex 3D assets without dropping frames.

Results and Evaluation

The functional prototype successfully demonstrated real-time stereo AR. By integrating the Oculus Rift’s internal gyroscope, virtual "holograms" (such as complex 3D models of Godzilla or starships) remained stable and correctly oriented as the user moved their head. Qualitative results confirmed that the system provides a much higher level of immersion than optical see-through alternatives due to the lack of FOV restrictions on digital content.

Conclusion and Future Work

This research demonstrates that a high-quality AR experience can be achieved through the strategic modification of VR hardware and custom software engineering. Future iterations will focus on:

  1. Positional Tracking: Integrating LSD-SLAM (Large-Scale Direct Monocular SLAM) to allow for markerless hologram placement and movement through space.
  2. Interaction: Implementing hand-pose estimation for gesture-based interaction with virtual objects.
  3. Hardware Refinement: Transitioning from temporary lab mounts to professional 3D-printed attachments and higher-bandwidth data interfaces.

Summary updated

BibTeX
@misc{holl2016augmented,
  author = {Markus Höll and Nikolaus Heran and Vincent Lepetit},
  title = {{Augmented Reality Oculus Rift}},
  year = {2016},
  eprint = {1604.08848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1604.08848},
}
Figure