omegaiota / DiffCloth

Code repository for our paper DiffCloth: Differentiable Cloth Simulation with Dry Frictional Contact
https://people.csail.mit.edu/liyifei/publication/diffcloth/
MIT License
339 stars 31 forks source link

how to simulate my garment into DiffCloth #18

Open ruyingdong opened 1 year ago

ruyingdong commented 1 year ago

Hi! I tried to put my simulation data(obj files of t-shirt) into DiffCloth simulation. However, it did not work. I found out that your obj files are much larger than mine and vertices and triangles are much larger. I have a few question about this: 1. Is it possible to input my simulation data(obj files of t-shirt) into your simulation? 2. Should I input my depth images(png) of t-shirt into your simulator instead of inputting my simulation data(obj files). If that's true, where could I input my depth images, I did not find any code on this. 3. the process fails maybe because the difference of size of obj files. If so, do you know how to fix this or this is non-fixable. I am so sorry to ask a lot. I am a beginner for simulation and I really like your work. Please look at the comments when you are free. Have a wonderful day.

https://user-images.githubusercontent.com/124673074/218797745-c6c4986f-e016-4ae8-af9b-024116a00ffa.mp4

微信图片_20230215002709 微信图片_20230215002713

omegaiota commented 1 year ago

Hi sorry I just saw this message. Obj files should work. Can you elaborate on what is not working? You can email me if you need a quicker reply .