custom-humans / editable-humans

[CVPR 2023] Learning Locally Editable Virtual Humans
https://custom-humans.github.io/
MIT License
168 stars 12 forks source link

Cross-subjects feature editing #10

Closed 12awei closed 1 month ago

12awei commented 1 month ago

I tried your Clothing Transfer module and it seems like he chose the whole body. How to achieve the option of choosing between the upper or lower body as mentioned in your paper? image

custom-humans commented 1 month ago

Hi,

Under this line https://github.com/custom-humans/editable-humans/blob/main/demo.py#L58 we can provide the mesh index we want to edit. For example I have provided lower body indices in the json file.

What you need to do is to select vertex indices of the "SMPL-X" mesh you want to edit.

Currently there is no automatic way to do so. I would suggest you use Blender to select a group of region and print our the vertex IDs.

12awei commented 1 month ago

After using the Clothing Transfer module, the obtained. obj file does not have a material file. How can I convert this file into an. obj file with a material file for easier animation operations in the future. Perhaps it can be achieved in Blender, how can I do it specifically

azuxmioy commented 1 month ago

Hi, You can check how we did UV unwrapping with xatlas in another repo:

https://github.com/SiTH-Diffusion/SiTH/blob/main/recon/models/evaluator.py#L145