• Advertisement
Sign in to follow this  

bounding volume for spring & mass meshes

This topic is 3950 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Say you are building some physical geometry out of meshes in a spring and mass system. Is there an appropriate bounding volume for this? For example, can a simulated spring and mass cloth be bounded dynamically and efficiently -- assuming the cloth is not connected to anything? Or is it just a matter of making the initial bounding volume large enough to accommodate all the possiblities of the cloth?

Share this post


Link to post
Share on other sites
Advertisement
A typical simulated spring is infinitely elastic: it will keep extending in proportion to the force applied to it. Therefore to get a bounding volume you would need to specify a maximum extension force that can be applied across the mesh.

Share this post


Link to post
Share on other sites
There are some very fast ways to build an (almost) minimum bounding sphere with a single pass over the vertices to be enclosed. (link) You could do it with minimum cost as you are deforming the mesh. Ditto for AABB.

(Implementation notes: I don't do it quite the way it's explained in the link. I ignore step 1, and just pick a random (or the 1st) point and make the initial bounding sphere located there, with an initial radius of 0.0. If you want better accuracy, do a second pass which is identical to the 1st, but start with the bounding sphere you obtained in the 1st pass, only changing the initial radius scaled to ~90% of what it was at the end of the 1st pass)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement