NeuralClothSim icon indicating copy to clipboard operation
NeuralClothSim copied to clipboard

How to train multiple clothes simultaneously

Open xqyd opened this issue 2 years ago • 1 comments

Hi, Great jobs for your paper and code! I have one simple question: How to edit the smpl.json file so I can train the tshirt and the pants together?

Since these two obj files are located in the same folder, and multi-layered clothing simulation is a must for many applications, I want to know how to do it in your current code. Thanks!

xqyd avatar Feb 17 '24 09:02 xqyd

Hi, thanks for your interest in my work!

To train multiple garments at once, the easiest solution is to merge them into a single mesh in an OBJ file. Note cloth-to-cloth interactions are not modeled in this approach, but it is possible to do it. To see how, you can look to a similar work of mine, PBNS (https://github.com/hbertiche/PBNS). Briefly, the idea is that collision loss is applied to garments iteratively, from inner-most to outer-most, with previous layers considered as part of the body (collider).

hbertiche avatar Mar 03 '24 17:03 hbertiche