Introduction
Binary FBX is the form in which Maya, 3ds Max, Blender and most other programs save FBX files by default. It holds the same tree of nodes as ASCII FBX, but as typed binary records, with large arrays of vertices and indices optionally compressed.
Autodesk does not publish the layout. What is known comes from reading the files, and the description below follows the notes published by the Blender developers.
Structure
A binary FBX file begins with the text Kaydara FBX Binary, two spaces
and a zero byte, then the bytes 1A 00 and a 32-bit version number such
as 7400. The rest is
a tree of nodes. Each node record gives the offset where it ends, its number of
properties, the length of its property list and its name, then its properties, then
its child nodes. Properties are typed values: integers, floats, strings, raw bytes, or
arrays of numbers, which may be zlib compressed. From version 7500 the offset and
length fields grew from 32 to 64 bits.
The top-level nodes include FBXHeaderExtension,
GlobalSettings, Definitions, Objects, which
holds the geometry, models, materials and animation curves, and
Connections, which links the objects into the scene.
0MagicKaydara FBX Binary, two spaces, zero byte,1A 0023 bytes23Version unsigned 32-bit, for example 74004 bytes27Nodes a tree of named records with typed propertiesvaries…Objects geometry, models, materials, animationvaries…Connections which object belongs to whichvaries
In this reference
- Header and node records – the header, versions, node records, null records, the footer and a worked example
- Property types – every type code, arrays and their compression, strings and object names
- Scene nodes – the top-level sections, objects, meshes, transforms, connections and animation
Variants
- ASCII FBX – the text form of FBX: the same scene nodes written as names, values and braces
- Binary FBX – Autodesk’s scene exchange format as binary node records, the usual form of FBX
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