using tetgen to generate tetrahedra

for tetgen installation please refer to http://blog.csdn.net/seamanj/article/details/51002086

1. edit object and export as .obj file in maya

using tetgen to generate tetrahedra_第1张图片

2. convert .obj to .off format in meshlab

using tetgen to generate tetrahedra_第2张图片

3. open command prompt and change the current directory to the location where the tetgen.exe is located, and type the following command:

using tetgen to generate tetrahedra_第3张图片

the general description of options is given, more details please consult http://wias-berlin.de/software/tetgen/1.5/doc/manual/manual005.html

using tetgen to generate tetrahedra_第4张图片

4. As soon as getting the following generated files, equipped with tetview we can display the tetrahedron corresponding  to the original obj.

using tetgen to generate tetrahedra_第5张图片

using tetgen to generate tetrahedra_第6张图片

你可能感兴趣的:(using tetgen to generate tetrahedra)