Introduction
Draco is an open source library from Google, released in 2017, for compressing triangle meshes and point clouds. It shrinks vertex positions, normals, colours and texture coordinates by quantising them and predicting each value from its neighbours, which often makes a mesh many times smaller than the same data stored plainly.
A .drc file is a single compressed mesh or point cloud. The same
compression is more often met inside glTF files, through
the KHR_draco_mesh_compression extension, where a browser decodes it
before drawing.
Structure
A Draco file starts with the five bytes DRACO, then the major and minor
version of the bitstream, the encoder type (point cloud or triangle mesh), the method
(sequential or Edgebreaker, which encodes the mesh connectivity by walking across its
triangles) and a 16-bit flags field. Optional metadata follows, then the compressed
connectivity and the compressed attributes. Google publishes a draft specification of
the bitstream for meshes, version 2.2; point clouds and older versions are defined
only by the library’s source code.
0MagicDRACO5 bytes5Version major and minor2 bytes7Encoder type and method2 bytes9Flags for example, metadata present2 bytes11Metadata, connectivity and attributesvaries
In this reference
- Header and metadata – number formats, every header field and code, and the metadata section
- Connectivity – sequential indices and Edgebreaker: header, splits, symbols, start faces, seams and the valence variant
- Attributes and prediction – attribute and data types, decoder types, prediction schemes, transforms and quantisation
- Entropy coding – tagged and raw symbols, probability tables, rANS and rABS
Not described
These pages follow the Draco Bitstream Specification 2.2 draft and Draco’s source for enum values. The
specification page was re-read in full on 13 November 2026 (it shows “last modified 2026-11-11”, still
version 2.2): it remains mesh-only, so nothing in the lists below has been closed by it. The
explorer opens a dropped .drc file: its tree shows the header, the metadata, the connectivity
and the attributes with the bytes each takes, the tables list every attribute and its metadata, and the
mesh or point cloud is drawn from the decoded data. The decoder is a port of Google’s open source Draco
decoder (Apache-2.0) and it was checked against the reference C++ decoder, built from the same source: on
136 files, made by the reference encoder at several levels and quantisations and taken from the
project’s own test data, the decoded faces and every attribute value at every point are identical bytes.
Meshes are covered in the bitstream versions 1.1, 1.2, 2.0, 2.1 and 2.2, point clouds in 1.1, 2.2 and 2.3,
with sequential and Edgebreaker (standard and valence) connectivity and the sequential and kd-tree
point methods.
Known, not yet covered
- Reference: the point-cloud bitstream 2.3 with its sequential and kd-tree methods, bitstreams before 2.2, uncompressed attribute values and the generic decoder’s raw layout, prediction schemes 2 and 3, the delta and normal octahedron transforms and predictive Edgebreaker (type 1) are not in the public specification; they are defined by Draco’s source code, which the decoder follows, but these pages do not describe them yet.
- Reference: the transcoder attribute types (tangent, material, joints, weights) are not in the specification and are not described; the open source decoder does not accept them either.
- Viewer: the deprecated texture-coordinate prediction scheme (method 3), 64-bit integer attributes and kd-tree point clouds older than bitstream 2.3 are refused, not decoded. The predictive Edgebreaker traversal, the multi-parallelogram scheme and the non-canonicalised octahedron transform with geometric normal prediction are ported from the source, but the reference encoder does not make files that use them, so they have not been tested.
- Viewer: a file is decoded whole in memory (up to 256 MB); a larger one is not decoded. The pictures draw the positions, faces and colours; normals and texture coordinates are listed in the attribute table but not drawn.
Links
Software
- draco_encoder and draco_decoder – command line tools that convert OBJ, PLY and STL to and from Draco (Windows, macOS, Linux)
- Blender – free open source 3D suite, with Draco compression in its glTF exporter (Windows, macOS, Linux)
Developers
Reference
- Draco bitstream specification – Google’s draft description of the compressed mesh format, version 2.2
- Specification source – the same specification as Markdown files in the Draco repository