Formatguide

OFF File Format (.off)

The minimal ASCII mesh format — clean, dependency-free polygon geometry for research and processing tools.

Last ned gratis prøveversjon

Gratis 30-dagers prøveperiode. Ingen kredittkort nødvendig. Windows 10/11.

Extension.off
Full nameObject File Format
Geometry typePolygon mesh (triangles and polygons)
VariantsOFF (plain), COFF (color), NOFF (normals), CNOFF (color+normals)
Open standardYes
Supports colorCOFF variant only
Supports normalsNOFF variant only
EncodingASCII text

Hva er en OFF-fil?

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.

Vanlige bruksområder for OFF-filer

Computational Geometry Research

Academic geometry processing libraries (CGAL, libigl, OpenMesh) use OFF as a common test format. Princeton Shape Benchmark datasets are distributed as OFF.

Geometry Processing Pipelines

OFF is used in mesh processing pipelines where a simple, human-readable format is preferred.

Geomview Visualization

Geomview, the interactive 3D viewer from the Geometry Center, uses OFF as its native format.

Programvarestøtte

MeshLab, Geomview, CGAL, libigl, OpenMesh, Blender (via import plugin) and 3D CAD Converter.

Konverter dette formatet

Commonly converted to STL for 3D printing, to OBJ for rendering, or to PLY for datasets requiring per-vertex attributes.