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

Basic example of initialization and simulation loop #5

Closed
DamianoOriti opened this issue Oct 10, 2021 · 2 comments · Fixed by #31
Closed

Basic example of initialization and simulation loop #5

DamianoOriti opened this issue Oct 10, 2021 · 2 comments · Fixed by #31
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@DamianoOriti
Copy link

Hi, first of all, thank you for sharing this implementation of IPC.
Would it be possible to have a complete example showing the initialization of deformable bodies and the simulation loop?
Is there any documentation on how to use this toolkit?

@zfergus zfergus added the documentation Improvements or additions to documentation label Oct 10, 2021
@zfergus zfergus self-assigned this Oct 10, 2021
@zfergus
Copy link
Member

zfergus commented Oct 10, 2021

Hi, yes I plan to add more documentation/examples for how to use the library and its functions.

However, it seems like you are asking how to build a full simulator using the toolkit. If this is the case, then the toolkit is not all that is needed. The toolkit only contains the components necessary for collision detection and response (including friction). It does not contain the specific code for simulating deformable bodies. For this, I would point you to our original IPC codebase which includes a full deformable simulator, or to the more general PolyFEM which uses this toolkit for handling collisions.

Let me know if I misunderstood your questions.

@DamianoOriti
Copy link
Author

Thank you very much for your reply.
I imagined that ipc-toolkit did not contain all the building blocks necessary for a full simulation, but I wasn't sure of that.
I will check the PolyFEM project that you kindly pointed out to me.

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

Successfully merging a pull request may close this issue.

2 participants