DECA icon indicating copy to clipboard operation
DECA copied to clipboard

Convert HiFi3D++ UV texture to FLAME UV texture

Open Oocean35 opened this issue 1 year ago • 1 comments

Hi ! 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

Oocean35 avatar Oct 02 '23 13:10 Oocean35

I think you can you FLAME_w_HIFI3D_UV.obj, tex_uv.png instead flame model. And you should use hifi3dface tool to generate UV basis.

xuduo18311199384 avatar Oct 09 '23 02:10 xuduo18311199384