- Notifications
You must be signed in to change notification settings - Fork31
Shared Reality: Observe a VR session from the same room using a HoloLens!
License
dag10/HoloViveObserver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Observe a VR session from the same room using a HoloLens!
Open the HoloViveObserver directory usingUnity 5.5.2f1 (64-bit), Unity 5.5.0 as well as Unity 5.6.x will not work.
Never update the Steam VR plugin. It is modified by @Sorob to compile in Hololens
Holotoolkit is also modified to fix the Cursor errors. Updating it is not recommended.
This project uses Unity's cloud based Multiplayer service. After opening the projectgo to Window > Services to open the Services tab. It is important to mention youmust be logged into your Unity cloud account within the Unity Editor. (ie. not working offline)
Click theNew link... button in the Services tab. Select your organization name(username). ClickCreate button to create a cloud project. Next click theMultiplayer service to enable. ClickGo to dashboard In a browser if you arelogged into your Unity account a *Max players per room" field needs to be set as2 or more and click save. Finally clickRefresh Configuration and you shouldnow see a list of your current configuration settings.
If you are planning on building for the HoloLens and running the Vive from the samemachine it is important to build for the HoloLensfirst.
Open the File -> Build Settings menu.
Make sureWindows Store is selected. If it isn't, select it and clickSwitch Platform.
Then clickBuild and select the existingApp folder. This will exporta Visual Studio project. Yes, you have to do this each time you make changeswithin Unity and want to deploy to HoloLens. If youjust make code changes,you can skip the Build Settings step and build right from Visual Studio.
Within theApp folder, open theVive Observer.sln file. Do not be confusedby the HoloViveObserver.sln file in the parent folder, that solution has noprojects.
Once within Visual Studio 2017, selectRelease and targetx86, then choosewhether you want to deploy to an actual HoloLens or the emulator.
NOTE: When choosing the UWP Build Type asD3D the SteamVR_Settings window may pop up. Simplyleave this window up, DO NOT clickAccept All Settings orIgnore All. If you do thisthe project will not function properly on the HoloLens.
Open the File -> Build Settings menu.
Make surePC, Mac, Linux Standalone is selected. If it isn't, select it and clickSwitch Platform.
On the SteamVR_Settings window clickAccept All
Now, hit the play button at the top of the Unity window.
Make sure your build settings look like this:
Also make sure your color space at the player settings is Gamma.