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~
Hi~
I'm working on a FEM simulation on
PositionBasedDynamicsand get trapped by the right way to convert aobjmesh to atet model.In the example scene
DeformableSolidCollisionScene, I learned that.elefile and.nodefile are required to get a tetrahedron model, they're produced by the toolTetGen.But unfortunately, I found that
TetGenseems not to support a direct approach to convert a.objfile to.eleand.nodeTetGen doc, it seems only support.off.ply.stl.mesh. And there is a commandtetgen -pqa5000.0 Armadillo_UV_low.offat the last line of the filesarmadillo_4k.eleandarmadillo_4k.node, which hints that a.offis required, but I don't know where can I get the.offfile...So my confusion is that,
TetGencorrectly when working onPositionBasedDynamics?more specifically,
.offfile?.objfile or whatever else?TetGenandPositionBasedDynamics?Best regards~