tencent-ailab / hifi3dface

Code and data for our paper "High-Fidelity 3D Digital Human Creation from RGB-D Selfies".
Other
774 stars 153 forks source link

Convert HiFi3D++ UV texture to FLAME UV texture #50

Open Oocean35 opened 1 year ago

Oocean35 commented 1 year ago

Hi ! Thanks a lot for sharing this amazing work! I have a question I hope you could help me with. I'm trying to convert a UV texture made for HiFi3D++ into a UV texture for FLAME. In https://github.com/csbhr/FFHQ-UV/blob/main/FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/FLAME_w_HIFI3D_UV.obj , the UV coordinates of the HiFi3D++ UV-texture map corresponding to the Flame vertices/faces are provided (https://github.com/csbhr/FFHQ-UV/blob/main/README_flame2hifi3d.md), using these UV coordinates, the FLAME meshes can look for texture colors from the UV-maps in HiFi3D++ format. I need to basically copy the pixels from one UV texture into the corresponding location in the new UV texture. Any tips on how to get this correspondence?

Thanks a lot !! Best