Format:MD3 (Quake III)
| Developer | id Software |
|---|---|
| Versions | 15 |
| Magic | 49 44 50 33 ("IDP3") then int32 15 |
| Extensions | .md3 |
| Endianness | little |
| On this wiki | Facts · Code · Notes · Topics |
Vertex-animated model format of Quake III Arena (magic IDP3, version 15): per-frame bounds, tags for attaching models, and surfaces with shaders, triangles, texture coordinates and int16 vertices scaled by 1/64.
Header (md3Header_t, 108 bytes)
ident ("IDP3"), version (15), char name[64], flags, numFrames, numTags, numSurfaces, numSkins, ofsFrames, ofsTags (numFrames * numTags entries), ofsSurfaces, ofsEnd.
Limits: 3 LODs, 8192 triangles and 4096 vertices per surface, 256 shaders, 1024 frames, 32 surfaces, 16 tags. Vertex positions are int16 values multiplied by MD3_XYZ_SCALE = 1/64, plus a packed spherical normal. Player models are three MD3 files (head, upper, lower) joined by tags.
The layout of frames, tags and surface headers beyond this header is from community documentation and not re-read here (unverified). The engine header also defines MD4 ("IDP4", version 1, 128 bones max), the skeletal predecessor of the MDR format.
See also Format:MD2 (Quake II), Format:BSP (Quake III).
Code & repositories
- https://github.com/id-Software/Quake-III-Arena @
dbe4ddb10315479fc00086f08e25d968b4b43c49· license: GPL-2.0-or-later (declared by the contributor for the files used; GitHub reports GPL-2.0 for the repository)
GPL release of the Quake III Arena source; code/qcommon/qfiles.h defines BSP v46 and MD3/MD4 on-disk structures.
Tested on: source read, not run: source read, not built: code/qcommon/qfiles.h at commit dbe57e3 · checked 2026-10-18; last activity 2024-08-02
Evidence & references
id-Software/Quake-III-Arena code/qcommon/qfiles.h at commit dbe57e3.