Une petite information sur le format off


OFF (Object File Format)

Extension : off
Creator : Digital Equipment Corporation
Description : OFF was developed in 1986 by Randi J. Rost at Digital Equipment Corporation's
                    Workstation Systems Engineering for the interchange and archiving of 3D objects.
                    OFF is an ASCII-based format and is independent of languages, devices, and operating systems.


Un exemple simple de fichier off pour un cube :

OFF
8 6 0
-0.500000  -0.500000   0.500000
 0.500000  -0.500000   0.500000
-0.500000   0.500000   0.500000
 0.500000   0.500000   0.500000
-0.500000   0.500000  -0.500000
 0.500000   0.500000  -0.500000
-0.500000  -0.500000  -0.500000
 0.500000  -0.500000  -0.500000
4 0 1 3 2
4 2 3 5 4
4 4 5 7 6
4 6 7 1 0
4 1 7 5 3
4 6 0 2 4


Voir notamment :
- http://shape.cs.princeton.edu/benchmark/
- http://shape.cs.princeton.edu/benchmark/documentation/off_format.html
- http://people.scs.fsu.edu/~burkardt/html/off_format.html
- http://people.scs.fsu.edu/~burkardt/data/off/off.html
- http://www.holmes3d.net/graphics/offfiles/

Le format off a l'avantage d'une très grande simplicité. Mais il existe maintenant sous plusieurs variantes.
Déjà ancien, il a été très utilisé et on peut dire qu'il est maintenant plus connu que répandu.
Il est en entrée ou en sortie de la plupart des convertisseurs de formats CAO.
Internet contient encore de nombreux modèles en format off.

Retour