[Solved] Softbody mesh has seams
Posted: Sun Oct 12, 2014 4:15 pm
I have implemented bullet physics into my game. I use softbodies for cloth simulation and it worked nicely in some cases. I generate softbodies from traingle meshes with btSoftBodyHelpers::CreateFromTriMesh however, in my latest model, there are seams in the mesh while running the simulation.
The mesh normally: The problem: I also noticed that these seams occur along texture seams in the mesh. Seams also occur where my normals are per face. In these cases, I generate extra vertices (making extra faces) into the model for the extra information, and I think this causes these problems. How should I tackle this, or how is it usually tackled? Does the order of the vertices matter here or should I add some extra parameters while generating the softbody?
An earlier demo video with some working meshes:
https://www.youtube.com/watch?v=yLQXmm5Q5zs
The mesh normally: The problem: I also noticed that these seams occur along texture seams in the mesh. Seams also occur where my normals are per face. In these cases, I generate extra vertices (making extra faces) into the model for the extra information, and I think this causes these problems. How should I tackle this, or how is it usually tackled? Does the order of the vertices matter here or should I add some extra parameters while generating the softbody?
An earlier demo video with some working meshes:
https://www.youtube.com/watch?v=yLQXmm5Q5zs