Introduction
X3D is the ISO standard for interactive 3D scenes, published by the Web3D Consortium as the successor to VRML. A scene is a graph of nodes: shapes with geometry and appearance, transforms, lights, viewpoints, and sensors and scripts that make the scene respond to the viewer. It is used in science, medicine, engineering and teaching, and can be shown in a web page.
The same scene can be written in several encodings: XML in .x3d files,
the VRML-like classic syntax in .x3dv files, and a binary form in
.x3db files.
Structure
An XML X3D file has the root element X3D with a profile and
a version, an optional head with metadata, and a
Scene holding the nodes. A Shape pairs a geometry node, such
as Box, Sphere or IndexedFaceSet, with an
Appearance and its Material. Transform nodes
move, rotate and scale their children. A node given a DEF name can be
reused elsewhere with USE.
<X3D profile="Interchange" version="3.3">
<Scene>
<Transform translation="0 1 0">
<Shape>
<Appearance><Material diffuseColor="0.8 0.2 0.2"/></Appearance>
<Box size="2 2 2"/>
</Shape>
</Transform>
</Scene>
</X3D>
In this reference
- Encodings – XML, ClassicVRML and compressed binary, profiles, components, units, prototypes and routes
- Field types – all 42 field types with defaults and written forms, and the access types
- Components and nodes – the 259 node types of X3D 4.0 by component
Not described
What this reference and the explorer leave out. X3D is defined by the published ISO/IEC 19776 specifications; nothing here is known to be undocumented.
Known, not yet covered
- Reference: checked on 2026-11-18 against ISO/IEC 19775-1 (node index of 4.0, field types of 3.3), 19776-1, -2 and -3 (3.3 concepts clauses): the node list, field types and defaults, file extensions and media types. The fields of each of the 259 node types. The components and nodes page lists the names by component only.
- Reference: the XML encoding (ISO/IEC 19776-1), the classic encoding (ISO/IEC 19776-2) and the compressed binary encoding (ISO/IEC 19776-3) are only outlined on the encodings page.
- Viewer: only the classic encoding (
.x3dv) opens, in the same plugin as VRML. XML (.x3d) and binary (.x3db) files have no viewer. - Viewer: the VRML plugin describes only the VRML97 nodes. An X3D node outside that set is labelled as a node type the reader has no description of, and it is not drawn. As with VRML, textures, lighting, transparency, sensors, scripts and ROUTEs do nothing.
Links
Software
- Castle Model Viewer – free viewer for X3D, VRML and other 3D formats (Windows, macOS, Linux)
- Blender – free open source 3D suite that reads and writes X3D through its add-on (Windows, macOS, Linux)
- MeshLab – free open source mesh viewer and editor (Windows, macOS, Linux)
Developers
Reference
- Web3D Consortium – the standards body, with the X3D specifications