This project, initially started as a passion project, has spun-off from Leia Inc and is now standalone. Thanks again to Leia Inc and former Dimenco for their support, we still strive to get SR in the hands of as many people as possible out of love for the technology.
This repo contains our wrapper for commom SR SDK functions required for weaving a stereoscopic image. On top of this, some extra helper functions were added for handling the following cases:
- Lens switching
- Eye tracking
- Hotkey managing
- Event handling
The class diagram of the wrapper project can be seen below:
- Install the SR SDK from Dimenco's website (you will need to make an account): https://www.srappstore.com/develop/sdk/sr
- Download CMAKE
- Download Visual studio 2019 or up and install the C++ compiler
- Download googletest from the official repository and copy googletest-{version} into "unit_test/lib/"
- Open a terminal (like git bash)
git submodule sync --recursive
git submodule update --init --recursive
"cmake . -B build"
You should now be able to load the generated project inside the created folder named "build".
If you want to get an understanding of the underlying SR SDK, you can view the documentation and samples at the link below: https://developer.srappstore.com/
For any questions or contributions you may have, please refer to our Discord server.
3D Game Bridge Projects: https://github.com/JoeyAnthony/3DGameBridgeProjects
3D Game Bridge GUI/API: https://github.com/BramTeurlings/3DGameBridgeGUI
Include statements should be ordered in the following way:
- Matching header file
- C++ standard headers
- Other included headers
- Defines
Every header file should be using #pragma once at the top of the file before any include statements.