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

How to transform the texture of BFM model into that of flame model? #22

Open
yuchen814 opened this issue Mar 3, 2023 · 8 comments
Open

Comments

@yuchen814
Copy link

Nice work! But I only successfully converted the mesh of BFM model. I don't understand how to change texture.I need to use col_ to_ tex.py? I'm not likely to use the output of that code. I would be very grateful if you could reply to me!!

@TimoBolkart
Copy link
Owner

What exactly do you intend to do? The col_to_tex.py takes the albedo space of BFM (represented as colors per vertex) and converts them to the FLAME texture layout. The result is a albedo texture space for FLAME with the same color variations than BFM. This space is for instance used in DECA.

@yuchen814
Copy link
Author

Thank you very much for your reply!!! I want to transform the textured BFM model into a textured Flame model.

@yuchen814
Copy link
Author

How can I generate a complete flame texture without color difference? The texture generated by Deca has significant differences between the facial edges and the head. Thank you again!

@TimoBolkart
Copy link
Owner

The converted texture space has no color difference in the face and it looks like this:
image
What color difference are you referring to here?

@yuchen814
Copy link
Author

I try to use DECA with FLAME_albedo_from_BFM.npz. The head texture I got is like this:
image

@yuchen814
Copy link
Author

The converted texture space has no color difference in the face and it looks like this: image What color difference are you referring to here?

What code can I use to achieve this? I want to make it look like this!!!!!!!!!!!!!!!!!

@TimoBolkart
Copy link
Owner

That is the visualization of the col_to_tex.py script that produces the FLAME_albedo_from_BFM.npz. I am not sure why the DECA output has only the face colored.

@yuchen814
Copy link
Author

That is the visualization of the col_to_tex.py script that produces the FLAME_albedo_from_BFM.npz. I am not sure why the DECA output has only the face colored.
Do you have a way to achieve the same effect as the pictures you sent? Thank you for your positive response.

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

2 participants