Hope this is the right forum - hi everybody!
I’m working on creating a rigid & soft body simulation as a term project for my Computer Graphics class. The subject is fascinating! I got a basic rigid-body physics engine working including basic collision detection and am starting work on the soft-body part and I’m swamped. For the soft-body part I plan on using the “Spring-Pressure Soft Body Model” described in many papers I’ve found (i.e. verteces connected by springs & volume filled with gas to satisfy PV=nRT to compute forces).
I’m now completely stuck with approximating/computing the volume of my deformable solid. Obviously it’s an easy formula when the volume starts as a sphere, but once deformed I have no idea where to go… I was considering using a bounding box with verteces (X,Y,Z)min to (X,Y,Z)max, but that’s way too inaccurate.
Any ideas? Please don’t solve the problem for me, but do point me in some direction as I’m obviously going through a major brain fart
Thanks!