Introduction
LWO is the object format of LightWave 3D,
the modelling and animation package that began on the Amiga with NewTek’s Video
Toaster. An object file holds the geometry and its surfaces; the scene, with
lights, cameras and animation, is saved separately as a .lws file.
There are two documented generations. Older files, from LightWave 5 and earlier,
have the form type LWOB. LightWave 6 introduced LWO2, which
adds layers, vertex maps for texture coordinates and weights, and a new surface
system. NewTek documented both. LightWave 2015 and later write a third form type,
LWO3, for which no public description has been found; it is laid out
like LWO2.
Drop a .lwo file on this site to open it: the explorer reads the form
type, shows the chunks as a tree, draws the model in its surface colours, layer by
layer, and draws UV maps.
Variations
| Format | Variation | About | Open |
|---|---|---|---|
.LWO | LightWave object (LWOB) | The original LightWave object, up to LightWave 5: points, polygons and surfaces in IFF. | Open |
.LWO | LightWave object (LWO2) | The LightWave object from LightWave 6 on: layers, vertex maps, polygons and surfaces. | Open |
.LWO | LightWave object (LWO3) | The LightWave object from LightWave 2015 on: the LWO2 layout under another form type. | Open |
Both are IFF files, the chunk format from Electronic Arts used widely on the Amiga:
one big-endian FORM chunk holding further chunks, each a four-letter ID,
a length and the data. The form type, the four bytes at offset 8, tells them apart:
LWOB (4C 57 4F 42), LWO2
(4C 57 4F 32) or LWO3 (4C 57 4F 33).
LWOB
The original form, written up to LightWave 5: a point list, a list of surface names, polygons that may carry detail polygons, optional curves, and a surface chunk per surface whose settings are mostly 16-bit fixed values. It has no layers and no texture coordinates of its own; textures are projected.
Reference: Geometry chunks and Surfaces.
LWO2
The form from LightWave 6 on. Layers, vertex maps (UVs, weights, colours, morphs), polygon types for patches, metaballs and bones, tags for surfaces, parts and smoothing groups, envelopes, image clips, and surfaces made of stacked texture layers and shaders. Indexes are variable-length, and settings are floats.
Reference: Data types and chunks, Envelopes and clips, Surface parameters and Surface blocks.
LWO3
The form from LightWave 2015 on. It has the framing and the chunks of LWO2; what it adds is not publicly described, so the viewer reads it by the LWO2 rules and shows any chunk it does not know as bytes.
Reference: LWO3.
Not described
What this reference and the viewer here leave out for the LWO family as a whole; the variant pages list their own gaps.
Known, not yet covered
- Reference: LWO3’s 4-byte sub-chunk lengths and nested
FORMchunks, as Assimp’s loader reads them (LWO3). - Reference and viewer: Modo’s
LXOBform, which Assimp reads as LWO2 plus an extra 4 bytes in envelopes; the viewer does not open it. - Viewer: applying textures, shading levels, envelopes and shaders, which NewTek’s descriptions and Assimp’s material code define; surfaces are drawn as flat base or vertex colours and images are never loaded.
- Viewer: subdividing patches; LWO2 shows their control polygons, and LWOB
PCHSpatches are counted but not drawn.
Unknown
- Reference and viewer: everything LWO3 adds or changes, and which LightWave version introduced it; no public description was found, and the viewer reads it by the LWO2 rules.
- Reference: the meanings of chunks found in real files but missing from the descriptions (LWOB, LWO2); their layouts are known, shown as labelled fields.
- Reference and viewer: LightWave 5.5’s layered
LWLOform; no source or file was found, and the viewer does not open it. - Reference: no real LWO3 file, and no LWO2 file written by LightWave itself, has been checked; the viewer has not been tried in a browser.
Links
Software
- LightWave 3D – the modelling and animation package that writes LWO (Windows, macOS)
Developers
- Assimp – library that imports dozens of 3D formats, LWOB, LWO2 and LWO3 among them (C++, BSD licence). Its LWO importer and test files (LWOB, LWO2 and Modo LXOB) were used to check this reference
Reference
- LightWave 3D object file format – Allen Hastings and Stuart Ferguson’s description of LWOB, revised 1994
- Object Files (LWO2) – a copy of NewTek’s LWO2 description from the LightWave SDK