ipc-sim / Codim-IPC

Source Codes for Codimensional Incremental Potential Contact (C-IPC)
https://ipc-sim.github.io/C-IPC/
Apache License 2.0
197 stars 35 forks source link

How to simulate a clothed human mesh #19

Open wishinghao opened 3 months ago

wishinghao commented 3 months ago

Hello, I have run your code examples successfully, and the results are great. I now want to simulate a clothed human model, but unlike the 5_garments.py example, I am using a complete mesh for the clothing instead of sewing patterns. Could you please advise me on how to modify the code? I changed sim.add_garment_3D to add_shell_3D, but it didn't work. I really need your help, and I appreciate it very much!

wishinghao commented 3 months ago

My clothing is shown in the picture. It can fit perfectly on my body. image