This sample demonstrates how to capture video and depth image with the ZED SDK in GPU memory and display them directly with OpenGL using CUDA - OpenGL interoperability.
- First, download the latest version of the ZED SDK on stereolabs.com
- For more information, read the ZED Documentation and API documentation or our Community page
Download the sample and follow the instructions below: More
- Create a "build" folder 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
- Build solution
Open a terminal in the sample directory and execute the following command:
mkdir build
cd build
cmake ..
make
-
Navigate to the build directory and launch the executable file
-
Or open a terminal in the build directory and run the sample :
./ZED\ openGL(.exe)
If you need assistance go to our Community site at https://community.stereolabs.com/