Programming in the Cave - aliciamarie15/Cave_Funfair GitHub Wiki
Cave Package
To get started, you need to install the Cave Package from the official CAVE Repository. You can install it via the Package Manager—refer to the repository's README file for detailed instructions.
The Cave Package enables most Unity projects to function within the Cave environment and provides essential features for Kinect-based tracking and speech recognition.
Skybox in Unity
We used the Project Cave Tools as the foundation for our development. To enhance the visual appeal of our software, we wanted to add a more immersive background.
In Unity projects, backgrounds are often implemented using a Skybox. However, Skyboxes do not render correctly in the Cave, causing black triangular artifacts that obscure the intended background. To resolve this, we used a curved wall that wraps around the room and applied a background texture to it.
For this implementation, we adapted a solution from the following GitHub documentation.
Building the Project
Before testing our project, we first needed to build it using a Windows laptop, as the Kinect requires a Windows operating system.
Once built, we uploaded the .exe
file to our Git repository and then ran it in the Cave environment.
Important Notes for Kinect Usage
- Only one person should be inside the Cave while testing, as the Kinect struggles with detecting multiple users, which can lead to unreliable tracking.
Inspiration and Resources
For the development of the Fruit Ninja mini-game, the following publicly available tutorial was particularly helpful:
Fruit Ninja in Unity entwickeln - YouTube video
This tutorial provided a solid foundation, and the concepts were adapted to meet the specific needs of integrating Kinect-based motion tracking within the CAVE environment.