Closed BingyangZHOU closed 1 year ago
And should all the faces must be triangles? Can the faces be only quards or combination of triangles and quards? If so, for quards,are there similar limitation of area and angle like triangles?
Hi, Currently ths algorithm only allows for triangle meshes, and it is recommended that you remesh your obj file (with mesh processing softwares, e.g. the Iso Parameterization Remshing function in MeshLab which is what I used or similar functions in Blender) so that most triangles are close to equilateral triangles, otherwise the simulation quality will be very poor (artifacts, non-convergence, contact penetration etc). Let me know if you have other questions.
Thanks for your reply. Can I say that a mesh of equilateral triangles which are similar in area size is the best?
yep!
Hi, I notice some warning detection code in /src/code/simulation/Triangle.cpp as follows:
When I try to load my obj file into obj DiffCloth, the output of such warnings is numerous. I wonder if it is necessary for me to modify my obj file to pass the warning detection in order to simulate them in DiffCloth correctly. And does it mean the triangle area should be more than 0.001 m^2 and three angles in each triangle are more than 20 degrees? Thanks^^