libigl file formats
- .dmat uncompressed ASCII/binary files for dense matrices
- .bf ASCII files for representing skeletal bone "forests"
- .tgf ASCII files for representing control handle graphs
- .off Geomview's polyhedral file format
- .obj Wavefront object file format. Usually unsafe to assume anything more than vertex positions and triangle indices are supported
- .mesh Medit's triangle surface mesh + tetrahedral volume mesh file format, see page 33, section 7.2.1
- .poly Piecewise-linear complex. This format comes in many similar but importantly different flavors:
triangle's, tetgen's, pyramid/SVR's
- .node List of points (vertices). Described indentically (upto
accepted dimensions, use of attributes and boundary markers) by Triangle, TetGen, and Stellar.
- .ele Element (triangle or tet) list. This format comes in similar flavors: tetgen's, stellar's,
and triangle's.
The formats of TetGen and stellar are identical upto conventions on index
ordering and number of allowed attributes (unverified).
- .face TetGen's file format for simplicial facets.
- .tga Truevision TGA or TARGA image file format. IGLLIB supports only very basic reading and writing RGB/RGBA files without colormaps and (unverified) run-length compression.
- .png
Portable Network Graphics image file. IGLLIB (in the libiglpng extra)
supports png image files via the yimg
library. Alpha channels and compression are suppported.