You've got this sophomores!
- Install Git and Git LFS
- Install Unity 2022.3.18f1 or higher
- Run:
git lfs clone https://github.com/brycedli/environments-lab-client.git
- On MM-127 computer, make sure Optitrack-Remote-Template is open, and run the "Server template" scene.
- Set the port in "Optitrack Stream Server" script (Inside the "Enable for Server" gameobject) to something
- In the Console tab, there will be an IP address/port– we'll reference this later. If there is a SocketException port issue, choose another port and run again. I will make it so that it automatically finds an open port in the future.
- Create a new Optitrack Rigidbody with the corresponding ID, and give it the Tag "OptiTrack"
- In the SyphonClientHDRP project, open the Server Template scene.
- Make an empty gameobject that has the same NAME as the rigidbody you made previously
- Set the IP port in "Optitrack Stream Client" script (Inside the "Enable for Server" gameobject) the IP address/port
- Download Syphon.Simple.Apps.zip from this link
- Open Simple Client and select the Unity output channel
- Hide toolbar/tab bar and hit fullscreen.
- You can also use Syphon plugins to connect to all kinds of apps, as described here.
For Windows, I will test later, but the gist is you download the Spout simple client and you set it up the same way I set up Syphon. The Unity part should be already installed.