Hi~
I'm working on a FEM simulation on PositionBasedDynamics and get trapped by the right way to convert a obj mesh to a tet model.
In the example scene DeformableSolidCollisionScene, I learned that .ele file and .node file are required to get a tetrahedron model, they're produced by the tool TetGen.
But unfortunately, I found that TetGen seems not to support a direct approach to convert a .obj file to .ele and .node TetGen doc, it seems only support .off .ply .stl .mesh. And there is a command tetgen -pqa5000.0 Armadillo_UV_low.off at the last line of the files armadillo_4k.ele and armadillo_4k.node, which hints that a .off is required, but I don't know where can I get the .off file...
So my confusion is that,
- how can I use
TetGen correctly when working on PositionBasedDynamics?
more specifically,
- what is the
.off file?
- is it simply converted from a
.obj file or whatever else?
- what is the most recommended way to do with
TetGen and PositionBasedDynamics?
Best regards~