Formatguide
The minimal ASCII mesh format — clean, dependency-free polygon geometry for research and processing tools.
Download gratis prøveversionGratis 30-dages prøveperiode. Intet kreditkort påkrævet. Windows 10/11.
| Extension | .off |
|---|---|
| Full name | Object File Format |
| Geometry type | Polygon mesh (triangles and polygons) |
| Variants | OFF (plain), COFF (color), NOFF (normals), CNOFF (color+normals) |
| Open standard | Yes |
| Supports color | COFF variant only |
| Supports normals | NOFF variant only |
| Encoding | ASCII text |
OFF (Object File Format) is a minimal ASCII format for polygon meshes. An OFF file starts with the keyword OFF, followed by counts of vertices, faces, and edges, then vertex coordinates, and finally faces. Optional variants COFF and NOFF add per-vertex color and normals. OFF was popularized by the Princeton Shape Benchmark and Geomview.
Academic geometry processing libraries (CGAL, libigl, OpenMesh) use OFF as a common test format. Princeton Shape Benchmark datasets are distributed as OFF.
OFF is used in mesh processing pipelines where a simple, human-readable format is preferred.
Geomview, the interactive 3D viewer from the Geometry Center, uses OFF as its native format.
MeshLab, Geomview, CGAL, libigl, OpenMesh, Blender (via import plugin) and 3D CAD Converter.
Commonly converted to STL for 3D printing, to OBJ for rendering, or to PLY for datasets requiring per-vertex attributes.