This project is used for collecting garment manipulation data with human hands in VR, which is the default data recording system for GarmentTracking (CVPR 2023).
This project needs to be used with the following hardware devices.
VIVE Pro: VR HMD.
VIVE Tracker (3.0): Hand tracking devices.
VRTRIX Data Gloves: 6-node data glove.
-
Clone Project.
git clone https://github.com/xiaoxiaoxh/VR-Garment.git
-
Install Unity Hub and install Unity Editor 2021.3 LTS through Hub.
-
Install Steam, and install SteamVR via Steam.
-
Install VRTRIX Data Glove Software.
-
Configure and connect the devices correctly according to the documentation of the headset, tracker, and gloves.
Open the vr-garment project with Unity, there are two scenes in the project:
Assets\Scenes\Imitation2\ClothImitation2:Use this scene to manually fold clothes in a VR environment, and the program will record the data during the process.
The parameters of the main script:
A part of the clothing model packaged by AssetBundle has been built into the project.
Assets\Scenes\Imitation2\AnimationImitation2:This scene restores the process of folding clothes according to the data recorded in ClothImitation2, and saves information such as high-quality depth maps.
The parameters of the main script:
Download the Demo Captures data from Release and decompress it, modify the LoadJsonDir
parameter of the AnimateImitation2
script to your decompression path, or decompress it to the project Assets/Captures