Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloth simulation.. #3

Open
SeongHwaChoi opened this issue Mar 10, 2020 · 1 comment
Open

Cloth simulation.. #3

SeongHwaChoi opened this issue Mar 10, 2020 · 1 comment

Comments

@SeongHwaChoi
Copy link

Hello,
Thank you for providing the code.

I downloaded your data generation code, and I want to do cloth simulation using the SMPL model. I understood that the motion data can be created by position and rotation of the pose.

However could you please explain how to use SMPL model when using arcsim?(Is it right that simply simulate motion data extracted from SMPL model to arcsim with default obstacle body mesh?)

@williamljb
Copy link
Owner

Hi Chioseonghwa,

Yes. I edited the obstacle part in the original Arcsim code so that it supports the non-rigid movement of the obstacles.

To simulate cloth with a moving body, first, you need to have the SMPL model sequence generated, named e.g. 0000.obj-0250.obj. Then you can simply set the obstacle information in the config file (e.g. see arcsim/conf/dress.json), and set the 'motion_type' as 1. As you can see in arcsim/src/obstacles.cpp, the simulation algorithm will then read the corresponding body data at each frame, and do interpolation if it is between two consecutive frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants