ipc-toolkit
ipc-toolkit copied to clipboard
Basic example of initialization and simulation loop
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?
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.
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.