This is an ugly adaptation of an unofficial BeatSaber plugin CameraPlus, an adaptation that merges a video stream from a depth camera with the in-game camera picture. If you want the original cameraPlus plugin, please use the link above.
This project requires another library from the real-salient project. real-salient implements a GPU algorithm to extract a salient object (you) from the background in a RGB-D video stream. The example is currently hardcoded to use Intel RealSense Depth Camera D415.
It's an experimental code, so everything is hardcoded. You would need:
- Intel RealSense Depth Camera D415 (or any other RGB-D camera and to adapt the
real-salient
project) - Vive tracker for the camera
(or any other tracker and to adapt the
real-salient
project) - Compile the
real-salient
project example library calledsaber-salient
and copysaber-salient.dll
to the Beat Saber folder***\Beat Saber\Beat Saber_Data\Plugins
- Compile this project and copy the resulting
CameraPlus.dll
to***\Beat Saber\Plugins
- Modify camera setting similar to the example.configs in
the folder
***\Beat Saber\UserData\CameraPlus
. There, the two important settings areuseSaberSalient
(enable the camera video stream) anduseSaberOpaque
(show the camera video stream without the game video stream).