Collada DAE Export

Format Description

"COLLADA is an XML-based schema for digital asset exchange that enables the use of diverse digital-content-creation tools to author sophisticated assets for use by 3D applications, including graphics, animation, kinematics, physics, and shader effects. COLLADA represents authored data in multiple forms, enabling the transformation of assets as they journey from content tools that use high-level descriptions to run-time applications that require optimized, platform-specific representations. The COLLADA specification, documentation, and sample code is available at the website at" -- The Khronos Group

CityEngine supports OpenCollada (871).

Get the plugins for 3DS MAX and Maya here:

Specific Export Options for Collada

In addition to the general export options, Collada/DAE adds the following switches:

Option Description
Master File All written geometry files will by linked together by a master collada file.
Vertex Indexing Choose between indexed polygon vertices or separated vertex copies per polygon.

CGA Mapping to Collada / Examples

The following table lists the mapping of the major CityEngine elements to Collada elements. Note: the instancing/multi-texture behavior of Collada is similar to FBX.

CityEngine Collada Example
Whole Scene or Selection Multiple models are collected and referenced in the <prefix>_master.dae file:
  <visual_scene id="VisualSceneNode">
    <node id="rootInst_lot1697" type="NODE">
      <instance_node url="./model_lot1697.dae#root_lot1697"/>
Model/Shape The following elements are stored in a file per lot, e.g. model_lot1697.dae:
  <instance_visual_scene url="#VisualSceneNode"/>
Leaf Shapes (with references to assets and materials and optional transformation matrices)
  <visual_scene id="VisualSceneNode" name="scene_lot1697">
    <node id="root_lot1697" type="NODE">
      <node id="VisualSceneNode1"
          name="mat0_CityEngineMaterial_CE" type="NODE">
        <instance_geometry name="mat0_CityEngineMaterial_CE" 
              <instance_material symbol="mat0_CityEngineMaterial_CE" 
                <bind_vertex_input semantic="cityengine_colormap" 
                    input_semantic="TEXCOORD" input_set="0"/>
                <bind_vertex_input semantic="cityengine_dirtmap" 
                    input_semantic="TEXCOORD" input_set="2"/>
CityEngine Assets/Meshes
  <geometry id="Geometry" name="mesh1">
      ... <triangles> or <polylist> ...
CityEngine Materials
  <material id="VisualMaterial" name="mat0_CityEngineMaterial_CE">
    <instance_effect url="#Effect"/>

  <effect id="Effect">
      <newparam sid="Image-surface">
        <surface type="2D">...</surface>
      <newparam sid="Image-sampler">
      <newparam sid="Image1-surface">
        <surface type="2D">...</surface>          
      <newparam sid="Image1-sampler">
      <technique sid="common">
          <emission><color>0 0 0 1</color></emission>
          <ambient><color>0 0 1 1</color></ambient>
            <texture texture="Image-sampler" 
            <texture texture="Image1-sampler" 
CityEngine Bump/Normal Maps Because of a restriction of COLLADA, CityEngine bump and normal maps are exported as BUMP maps in the effect extra tag:
<effect id="MyEffect">
    <technique sid="common">
CityEngine Textures
  <image id="Image">
  <image id="Image1">

Further Reading

Copyright ©2008-2018 Esri R&D Center Zurich. All rights reserved.