Object File Format is an open source text data format created in 1991 by Stuart Levy and Tamara Munzner and Mark Phillips.
| #1362on PLDB | 35Years Old |
OFF
# A simple cube
8 6 12
0.0 0.0 0.0
1.0 0.0 0.0
1.0 1.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0
1.0 0.0 1.0
1.0 1.0 1.0
0.0 1.0 1.0
4 0 1 2 3
4 5 4 7 6
4 1 5 6 2
4 4 0 3 7
4 3 2 6 7
4 0 4 5 1| Feature | Supported | Example | Token |
|---|---|---|---|
| Lists | ✓ | 3 0 1 2 # Example: face definition with vertex indices | |
| Floats | ✓ | 0.5 0.5 0.5 # Example: vertex coordinates | |
| Integers | ✓ | 3 3 1 # Example: number of vertices, faces, edges | |
| Line Comments | ✓ | # Single-line comment | |
| Comments | ✓ | # This is a comment in an OFF file | |
| Strings | X | ||
| MultiLine Comments | X | ||
| Semantic Indentation | X |