Introduction
FBX began as the native format of Filmbox, a motion capture program by Kaydara that was later renamed MotionBuilder. Autodesk bought Kaydara in 2006 and FBX became the usual way to move models, skeletons and animation between Autodesk tools such as Maya and 3ds Max and game engines. The format is proprietary: Autodesk publishes an SDK for reading and writing it, not a specification.
The same tree of nodes can be saved in two forms, binary and ASCII text. Binary is the default and by far the more common.
Variations
| Format | Variation | About | Open |
|---|---|---|---|
.FBX | ASCII FBX | The text form of FBX: the same scene nodes written as names, values and braces. | Open |
.FBX | Binary FBX | Autodesk’s scene exchange format as binary node records, the usual form of FBX. | Open |
Binary FBX
The usual form: a short header, then a tree of node records with typed properties, where large arrays of numbers may be zlib compressed.
The file starts with the text Kaydara FBX Binary followed by two
spaces, a zero byte and the bytes 1A 00. A 32-bit little-endian
version number, such as 7400, follows at offset 23.
ASCII FBX
The same nodes written as text, with names, comma-separated values and braces. It is larger and slower to load, and is mainly used to inspect or compare files.
The file starts with a comment line beginning ; FBX and the version,
such as ; FBX 7.4.0 project file, rather than the binary signature.
Not described
Autodesk publishes no specification for FBX files. These pages follow Blender’s exporter, the Blender
developers’ notes, the FBX SDK help and ufbx. The explorer has no FBX viewer, so a dropped file
shows as bytes.
Known, not yet covered
- Reference: the full list of layer element kinds and of the properties of every object class; the SDK documents classes, not file nodes.
- Viewer: there is no FBX plugin for either the binary or the ASCII form.
Unknown
- Reference: the meaning of the bytes
1A 00in the header, how the file id and footer id derive from the timestamp, the use of thePOandPPrecords, and the flagsHandLn. - Reference: the packed layout of
KeyAttrDataFloatweights, and time modes above 17 (119.88 fps in newer SDKs is unconfirmed). - Reference: FBX 6
Properties60details beyond the three-string shape, and string escaping in ASCII files.
Links
Software
- Autodesk Maya – modelling and animation program for film and games (Windows, macOS, Linux)
- Autodesk 3ds Max – modelling, animation and rendering program (Windows)
- Autodesk MotionBuilder – character animation and motion capture program, FBX’s original home (Windows, Linux)
- Blender – free open source 3D suite that imports and exports binary FBX (Windows, macOS, Linux)
- Unity – game engine that imports FBX models and animation (Windows, macOS, Linux)
- Unreal Engine – Epic Games’ engine, which imports FBX models and animation (Windows, macOS, Linux)
- Cinema 4D – Maxon’s modelling and motion graphics program (Windows, macOS)
Developers
Reference
- FBX binary file format specification – the Blender developers’ notes from reading the files