Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Oocean35 opened this issue Oct 2, 2023 · 1 comment
Open

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

Oocean35 opened this issue Oct 2, 2023 · 1 comment

Comments

@Oocean35
Copy link

Oocean35 commented Oct 2, 2023

Hi @CvHadesSun !
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
Copy link
Author

Oocean35 commented Oct 3, 2023

I tried to adapt the code but at the end I had these very visible seems in the texture, any idea how to solve this problem ?
Thanks a lot !!
output_texture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant