DataGenerationPipeline.md
May 11, 2023 · View on GitHub
How to obtain CLOTH4D-type data
:cherries: CLO3D
Option 1: Use your own .zprj file
- Select one official avatar of CLO or import an outside avatar (not recommended; in this case, you need to rig the skeleton of the avatar in CLO)
- Adjust the physical appearance of your avatar (if you select the official avatar)
- Design the clothing you like
- Please remember the pose should be adjust to A pose
- Change the mode from "Simulation" to "UV Editor"
- Right click, select "reset UV to 2D arrangement", and also "Fit all UV to 0-1"
- Export the clothed avatar in OBJ with ZIP file (noted "Unified UV Coordinates (PNG)" checked) --> Texture.zip
- Back the mode to "Simulation", delete the clothing, save the naked avatar in fbx file --> A.fbx
Option 2: Use our .zprj file
- Change the mode from "Simulation" to "UV Editor"
- Right click, select "reset UV to 2D arrangement", and also "Fit all UV to 0-1"
- Export the clothed avatar in OBJ with zip file (noted "Unified UV Coordinates (PNG)" checked) --> Texture.zip
- Back the mode to "Simulation", delete the clothing, save the naked avatar in fbx file --> A.fbx
:cherries: Mixamo
- Upload the naked avatar, i.e., A.fbx to Mixamo
- Follow the instruction of Mixamo to obtain the animated avatar
- Download the animation file in fbx format --> B.fbx
:cherries: Mixamo
- Import the B.fbx
- Adjust the first frame to A pose
- Export the file in ABC format --> ani.abc
:cherries: CLO3D
- Import the ani.abc file in CLO
- Adjust your clothes on this abc file
- Do clothing simulation
- Export the cloth in and(OGAWA) format --> aniclo.abc
:cherries: Blender
- Import the aniclo.abc in Blender and export the sequences of naked avatar and clothed human avatar, respectively
:cherries: Remaining steps
- Unzipped the Texture.zip
- Copy the inside files to the location of saved sequences obj files
- Revise the file name of "convert_to_unified_uv.py" accordingly and run
- To obtain the rendered files, we recommend to follow ICON
- To obtain the watertight meshes, we recommend to follow ManifoldPlus