Hi all, I’m working on porting over my implementation of the seminal cloth simulator designed by Baraff and Witkin.
As first steps, I’m trying to generate a flat plane, triangulated with approximately evenly spaced nodes, that has the capability of deforming in 3 dimensions.
I’ve been unsuccessful in using Triangulate.jl, as its pointslist requires 2D and I haven’t located a 3D implementation in the package.
I have also looked into using MAT.jl to import a ‘mesh.mat’ file, however I have no idea how the arrays for the pointslist and triangelist are stored in this format, and have been unable to access them.
I have tried (rather unsuccessfully and frustratingly) to use Tetgen.jl to create a 3D mesh, and would like to steer clear of that (missed many edges, hard to find good documentation).
I think importing the .mat file and directly accessing the pointslist, etc. would be most ideal, but I’m unsure of how to extract that data using MAT.jl.
Any advice would be greatly appreciated, thanks!