Overview
This project was an attempt at creating soft-body physics both for geometric and for free-form objects, such as those loaded from .obj files.
This project did not go the way I expected it to, and almost none of what I attempted to implement got finished in the end
I did end up getting a technically working soft-body physics simulation for both geometric and free-form objects but it simply did not update in the way I had hoped, and the shapes tended to get very deformed or would not move at all
My approach was a system of spring-mass connections between vertices on each face, as well as a spring pulling each vertex to its original location (essentially a spring of 0 rest-length).
In the end, I was not able to get the simulation to work in a way that I was happy with, but I did learn a lot about soft-body physics and how (not)to implement it.
Presentation Video
Technologies Used
- C++
- OpenGL
- GLM
- GLSL
- GLEW
- obj files from mixamo