Export motion to SteamVR
You can use captured motion as virtual trackers in SteamVR by using "Virtual Motion Tracker"(VMT) created by gpsnmeajp.
Warning
Please note that VMT is a separated program from MocapForAll.
DO NOT contact the author of VMT for any issues you encountered when using MocapForAll and VMT together.
Install VMT
- Download from here.
- Follow the setup procedure of VMT.
Which version of VMT should I use?
Use the special version of VMT modifed for MocapForAll to align automatically the coordinates of SteamVR and MocapForAll.
If you align them manually, you do not need to use that version. Use vmt_011 or above. vmt_013c is recommended.
If trackers don't work for your app
Some application requires settings of controller binding.
If you have problems with VMT
First, see trouble shooting page.
Settings to send data
- Set
Settings > Data export > Destination IP address for VMT and VMC
as follows:- If the destination is the same PC:
127.0.0.1
- If the destination is another PC:
IP address of the destination PC
- You can check it by typing
ipconfig /all
in the command prompt - By running MocapForAll and SteamVR on different PCs, you can offload the mocap calculation and play VR games comfortably.
- You can check it by typing
- If the destination is the same PC:
- Turn on
Settings > Data export > VMT protocol > Send tracking points
- Set the port of
Settings> Data export> VMT protocol> Send tracking points
to39570
. - Turn on the required parts under
Settings > Data export > VMT protocol > Send tracking points > Tracking points to be sent
.- For example, if you want to use it in VRChat, turn on
Pelvis
andFeet
- You can adjust the offset of the virtual tracker position by clicking the
>
on the left side of each.
- For example, if you want to use it in VRChat, turn on
Advanced setting: As relative position to HMD
For the following settings, please decide on/off by your preference. We recommend that you try turning on first, and then try turning off if you are really serious about the motion.
-
Settings > Data export > VMT protocol > Send tracking points > As relative position to HMD
- When turned off, the actual tracking positions will be used as the positions of the virtual trackers.
- The delay of the movements of the virtual trackers with respect to the head-mounted display will be visible as it is.
(For example, when you start walking, it looks like only the head moves first and the rest moves later.) - You need to adjust the scale and the positions properly in Align coordinates of SteamVR and MocapForAll section described below.
(If the scale is not set properly, the horizontal position of the virtual trackers relative to the HMD shifts as you move in the room.)
- The delay of the movements of the virtual trackers with respect to the head-mounted display will be visible as it is.
- When turned on, the relative positions of your head and the rest parts will be transformed to the relative positions of HMD and the virtual trackers.
- The delay of the movements of the virtual trackers with respect to the HMD will be less noticeable.
(For example, when you start walking, it looks like the rest part slides along with the head.) - You do not need to input precise number to the scale, and do not need to input the positions in Align coordinates of SteamVR and MocapForAll section described below.
- The delay of the movements of the virtual trackers with respect to the HMD will be less noticeable.
- When turned off, the actual tracking positions will be used as the positions of the virtual trackers.
Align coordinates of SteamVR and MocapForAll
The coordinate of the HMD tracked by SteamVR and the coordinate of the body positions tracked by MocapForAll do not match as they are. You need to align them manually or automatically.
Prerequisite
As described in Install VMT section, you need to install the modified version of Virtual Motion Tracker for MocapForAll.
- Close application which uses port 39571 including VMT Manager.
- Turn on
Settings > Data export > VMT protocol > Send tracking points
- Put on the head-mounted display and keep SteamVR running.
- Stand in a position where HMD is tracked by SteamVR and your body is tracked by MocapForAll.
- In MocapForAll, click
Align coord. To VR
at the top of the window. - Walk around. After a while, the value of
Settings > Coordinates
will be updated automatically, and the coordinates of SteamVR and MocapForAll will be aligned.
-
Preparation
- Click
Start capture
at the top of the MocapForAll window to start motion capture - Put on your head-mounted display, quit apps running on SteamVR, including SteamVR Home, and make your virtual tracker visible on the SteamVR default screen.
- Click
-
Adjust the scale
- In MocapForAll,
- Turn on
Head
underSettings > Data export > VMT protocol > Send tracking points > Tracking points to be sent
- Tunr off
Settings > Data export > VMT protocol > Send tracking points > As relative position to HMD
- Turn on
- Set the values of
Settings > Coordinates > Scales > Upper body
andLower body
so that the height of your eye level matches the height of theHead
virtual tracker.Upper body
andLower body
scales should basically have the same value.
- In MocapForAll,
-
Adjust the orientation
- In MocapForAll,
- Turn on
Feet
underSettings > Data export > VMT protocol > Send tracking points > Tracking points to be sent
- Tunr on
Settings > Data export > VMT protocol > Send tracking points > As relative position to HMD
- Turn on
- Move your foot back and forth and set the value of
Settings > Coordinates > Orientation offset
so that the direction of the movement ofFoot
virtual tracker matches the direction of the actual movement of your foot.
- In MocapForAll,
-
Adjust the position
- In MocapForAll,
- Turn on
Feet
underSettings > Data export > VMT protocol > Send tracking points > Tracking points to be sent
- Tunr off
Settings > Data export > VMT protocol > Send tracking points > As relative position to HMD
- Turn on
- In MocapForAll,
-
Set the value of
Settings > Coordinates > Position offset
so that the position of your feet matches the position of the virtual tracker ofFeet
.