To help you visualize the captured session and get intuition of what the data looks like, I have build this motion capture session player in Unity.
Attached folder next to this readme file is a Unity Engine project. The following tutorial should help you setup the necessary environment in order to use the motion capture session player.
If you have any problem or question, please feel free to email me at [email protected].
This project and the Vive position capture code are both open source on GitHub. If you are interested, please find the link below:
If you don't have Unity Engine installed, please follow the steps below.
If you already have a version of Unity, please make sure it's at least version 5.6 or above.
- Download Unity here v5.6.3p4
- If you would like to use the most recent version like 2017.1.1, feel free to do so.
- Choose 64bit version (if it's available)
- You only need the top three components for this
- Finish the installation
- Locate the project folder next to this file /MotionCapturePlayer/
- Launch Unity
- Click open and locate the /MotionCapturePlayer/ folder then
- Click Select Folder. If it promopt you any warning window, just click Continue
-
Now you should have the project loaded. It will look similar to the example below. Note that if you see some random error message shown in the Console tab, it's completely normal, just ignore them or click Clear.
-
Find Project tab and locate the replay scene under Assets/Scenes/. Double click to load this scene.
-
Hit the play button to start the scene
-
You will see a pop-up window asking you to choose the session json data for replay. In this example, I'm going to choose MCM_session_10-02-2017_000.json by first finding the file and then double click it.
-
Once it finished loading the data, you will see a summary window
-
Click Start Replay to start the playback.
-
You can pause/resume the playback at any moment by pressing the pause button.
-
You can step forward the playback by first pause and then press the step button next to it.
-
To find a good view point, go to the scenes tab. Press and hold the right click of your mouse and use W/S/A/D to navigate.
-
You can find and locate each of your captured devices under the Hierarchy tab