Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.3 KB

zed-oculus

Note: This sample works with Oculus DK2 and CV1.

This sample is designed to work with the ZED stereo camera only and requires the ZED SDK. For more information: https://www.stereolabs.com

It demonstrates how to grab stereo images with the ZED SDK and display the results in a Oculus Rift headset.

Prerequisites

OpenGL GPU Interoperability

/!\ You must have NVIDIA GPU Computing Toolkit installed on your computer.

To enable Opengl GPU Interoperability (which increases performance):

  • add the preprocessor definition OPENGL_GPU_INTEROP;
  • link the CUDA library cudart_static.lib (commonly at "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64\cudart_static.lib").

##Keyboard shortcuts

           Main Hotkeys              |

---------------------------------------- | 'q' : Exit the application | 'c' : Pause/Unpause the rendering | 'r' : Reset HIT to zero | 'Mouse wheel' : Increase/Decrease HIT |