Introduction
COLLADA (COLLAborative Design Activity) is an XML format for exchanging 3D assets
between programs. It was started by Sony Computer Entertainment and is maintained by
the Khronos Group. Files use the extension .dae, for digital asset
exchange. A file can hold meshes, materials and shaders, cameras, lights, skeletons,
skinning, animation and physics.
COLLADA was widely supported through the 2000s and early 2010s. For delivering models to engines and browsers, Khronos now recommends its successor, glTF.
Structure
A DAE file is XML with the root element COLLADA, its schema version and
namespace. An asset element gives the units and which axis points up.
The content is grouped into libraries: library_geometries,
library_materials, library_effects,
library_images, library_controllers for skinning,
library_animations and library_visual_scenes. The
scene element names the visual scene to show. Elements refer to each
other by id, written as a URL fragment such as #Cube-mesh.
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset><unit meter="1"/><up_axis>Z_UP</up_axis></asset>
<library_geometries>
<geometry id="Cube-mesh"><mesh>…</mesh></geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="Scene">
<node id="Cube"><instance_geometry url="#Cube-mesh"/></node>
</visual_scene>
</library_visual_scenes>
<scene><instance_visual_scene url="#Scene"/></scene>
</COLLADA>
In this reference
- Document elements – versions, asset, libraries, nodes and transforms, materials and effects, cameras, lights, controllers and animation
- Geometry and data – sources, arrays, accessors, inputs and their semantics, and mesh primitives
Not described
These pages follow Khronos’s COLLADA 1.4.1 schema and the COLLADA 1.4.1 Specification (2nd Edition,
March 2008), which was read as text in this session; the input semantic list, interpolation names, camera,
light and image children, matrix layout, transform composition and target addressing syntax are now
confirmed against it (the 1.5.0 specification, April 2008, was used for the 1.5 namespace and
opaque values only). The explorer has no COLLADA viewer, so a dropped file shows as text.
Known, not yet covered
- Reference: the elements the pages do not tabulate although the specification defines
them: physics (rigid bodies, constraints, force fields; chapter 6), kinematics (1.5), the
Cg, GLSL and GLES shader profiles and their
technique, render-state and sampler elements (chapter 8),animation_clipandimagerdetails,extraandtechnique(core) contents, the curve mathematics of NURBS-style splines, and B-rep (1.5). - Reference: the other 1.5 changes: this reference lists only the 1.5 namespace and
opaquemodes. - Viewer: there is no COLLADA plugin.
Links
Software
Developers
Reference
- COLLADA – the Khronos Group’s page, with the specifications