项目作者: stereolabs

项目描述 :
ZED Viewer for Oculus Rift
高级语言: C++
项目地址: git://github.com/stereolabs/zed-oculus.git
创建时间: 2015-11-17T14:27:47Z
项目社区:https://github.com/stereolabs/zed-oculus

开源协议:MIT License

下载


Stereolabs ZED - Oculus

Note : A ZED mini is required to fully enjoy this tutorial, the usage of a ZED will introduce visual discomfort due to wide baseline.

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

  • Windows 64 bits
  • ZED SDK 3.x and its dependencies (CUDA). Last tested with ZED SDK 3.2.2
  • Oculus SDK (1.17 or later)
  • GLEW included in the ZED SDK dependencies folder
  • SDL

Build the program

Download the sample and follow the instructions below: More

  • 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.

Support

If you need assistance go to our Community site at https://community.stereolabs.com/