Closed kristijanbartol closed 2 years ago
Comments on the problem 1 (clothes not on top of the body):
tailornet_for_garmentor/utils/interpenetrations.py -> remove_interpenetrations_fast()
, i.e., need to rewrite the function for pytorchNote: the issue concluded in the "Solution" part of the original comment.
Reopen: It turns out that mesh rendering and offline data pre-generation are not that related, so it's still relevant to have this issue opened separately. In particular, the problem is indeed in the rendering part, which might be solved by using a different rendering technique (check POSA!).
Closing: Using trimesh + pyrender (see renderers/surreal_renderer.py
).
Subtasks
Detected problems
Solution (see #30)
To move clothes on top of the body, the interpenetration solver function can be used. However, it is non-trivial to do this update as the function is written in NumPy, as well as the underlying code that uses psbody package. Therefore, the whole synthetic data generation code needs to be rewritten in NumPy (and the original TailorNet's SMPL4Garment class can be used instead of TorchSMPL4Garment, which is addressed in a separate issue #30 .