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.
- First, download the latest version of the ZED SDK on stereolabs.com.
- For more information, check out our tutorial on using the ZED and Oculus Rift and read the ZED API documentation or our Community page.
- 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
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
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)
Main Hotkeys | Description |
---|---|
'c' | Pause/Unpause the rendering |
'q' | Quit the application. |
If you need assistance go to our Community site at https://community.stereolabs.com/