/zed-oculus

ZED Viewer for Oculus Rift

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Stereolabs ZED - Oculus

This sample shows how to capture stereo video from the ZED and display it in an Oculus Rift headset. Works with Oculus DK2 and CV1.

Getting started

Prerequisites

Build the program

Download the sample and follow these instructions:

  • Create a folder called "build" in the source folder
  • Open cmake-gui and select the source and build folders
  • Generate the Visual Studio Win64 solution
  • Open the resulting solution and change configuration to Release. You may have to modify the path of the dependencies to match your configuration
  • Build solution

Features

This sample show how to render the ZED stereo images in a Rift. It uses the CUDA-OpenGL interoperability to send images through opengl in the most effective way (without going back to CPU)

Keyboard shortcuts

Main Hotkeys Description
'c' Pause/Unpause the rendering
'q' Quit the application.