BFM_to_FLAME icon indicating copy to clipboard operation
BFM_to_FLAME copied to clipboard

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

Open yuchen814 opened this issue 2 years ago • 8 comments

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

yuchen814 avatar Mar 03 '23 02:03 yuchen814

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.

TimoBolkart avatar Apr 16 '23 17:04 TimoBolkart

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

yuchen814 avatar Apr 17 '23 04:04 yuchen814

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!

yuchen814 avatar Apr 17 '23 04:04 yuchen814

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?

TimoBolkart avatar Apr 17 '23 11:04 TimoBolkart

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

yuchen814 avatar Apr 17 '23 14:04 yuchen814

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

yuchen814 avatar Apr 17 '23 14:04 yuchen814

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.

TimoBolkart avatar Apr 17 '23 14:04 TimoBolkart

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.

yuchen814 avatar Apr 17 '23 14:04 yuchen814