PerceivingSystems / bedlam_render

BEDLAM (CVPR 2023) render pipeline tools
https://bedlam.is.tuebingen.mpg.de/
Other
131 stars 6 forks source link

Body textures rendering #11

Closed cqx28402 closed 1 year ago

cqx28402 commented 1 year ago

Hi, I have prepared body textures and materials in UE_5.0\Engine\Content\PS\Meshcapade\SMPL and the corresponding texture_clothing was identified in the be_seq.csv file. However, body textures do not appear in the created LevelSequences. How can I add body textures correctly? Thanks in advance

tpsmpi commented 1 year ago

Please check the Unreal Editor Output Log for relevant error messages. Check this document for expected BEDLAM Unreal Editor content asset data layout. If you resolved the issue in the meantime then please leave a comment for others how you resolved it before closing the issue.

cqx28402 commented 1 year ago

Thank you for your answer. The Unreal Editor Output Log shows no error, which indicates that the materials was loaded successfully, but the materials does not display body textures. The problem seems to be in the create body materials step, where I get the exact same materials. image I followed the instructions again and got the same result.

tpsmpi commented 1 year ago

It looks like you have issues generating the body material instance assets. You need to check the Output Log when you run https://github.com/PerceivingSystems/bedlam_render/blob/main/unreal/import/create_body_materials.py. If you look at the script you will see that it skips existing materials instances so you need to delete existing faulty ones before rerunning. Also make sure that your Bedlam Core assets are installed first as mentioned in the import README.

cqx28402 commented 1 year ago

Thank you very much for your answer. It looks like I made a bug with changes to Core assets before, and I re-downloaded the Core folder and placed it in PS\Bedlam to get the correct body materials. Now I can render a textured body!