It seems ColladaConv (and the engine?) can't handle geometry objects with multiple materials, for example:
Code:
<geometry id="Building01-mesh" name="Building01">
<mesh>
<source id="Building01-mesh-positions">
<float_array id="Building01-mesh-positions-array" count="19476"> ... </float_array>
<technique_common>
<accessor source="#Building01-mesh-positions-array" count="6492" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="Building01-mesh-normals">
<float_array id="Building01-mesh-normals-array" count="84711"> ... </float_array>
<technique_common>
<accessor source="#Building01-mesh-normals-array" count="28237" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="Building01-mesh-map-channel1">
<float_array id="Building01-mesh-map-channel1-array" count="22242"> ... </float_array>
<technique_common>
<accessor source="#Building01-mesh-map-channel1-array" count="7414" stride="3">
<param name="S" type="float"/>
<param name="T" type="float"/>
<param name="P" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="Building01-mesh-vertices">
<input semantic="POSITION" source="#Building01-mesh-positions"/>
</vertices>
<triangles material="Building01_Material" count="4520">
<input semantic="VERTEX" source="#Building01-mesh-vertices" offset="0"/>
<input semantic="NORMAL" source="#Building01-mesh-normals" offset="1"/>
<input semantic="TEXCOORD" source="#Building01-mesh-map-channel1" offset="2" set="1"/>
<p> ... </p>
</triangles>
<triangles material="BuildingInner_Material" count="6661">
<input semantic="VERTEX" source="#Building01-mesh-vertices" offset="0"/>
<input semantic="NORMAL" source="#Building01-mesh-normals" offset="1"/>
<input semantic="TEXCOORD" source="#Building01-mesh-map-channel1" offset="2" set="1"/>
<p> ... </p>
</triangles>
<triangles material="Concrete_Material3" count="764">
<input semantic="VERTEX" source="#Building01-mesh-vertices" offset="0"/>
<input semantic="NORMAL" source="#Building01-mesh-normals" offset="1"/>
<input semantic="TEXCOORD" source="#Building01-mesh-map-channel1" offset="2" set="1"/>
<p> ... </p>
</triangles>
<triangles material="Glass_Material" count="132">
<input semantic="VERTEX" source="#Building01-mesh-vertices" offset="0"/>
<input semantic="NORMAL" source="#Building01-mesh-normals" offset="1"/>
<input semantic="TEXCOORD" source="#Building01-mesh-map-channel1" offset="2" set="1"/>
<p> ... </p>
</triangles>
</mesh>
</geometry>
ColladaConv produces weird XML converting this:
Code:
<Mesh name="Building01_PIVOT" material="LevelAssembly/Building01_Material.material.xml" tx="-40.465" ty="1.00136e-005" tz="-49.6911" batchStart="835095" batchCount="13548" vertRStart="351651" vertREnd="359047">
<Mesh name="Building01_PIVOT" material="LevelAssembly/BuildingInner_Material.material.xml" batchStart="848643" batchCount="19983" vertRStart="359048" vertREnd="369040" />
<Mesh name="Building01_PIVOT" material="LevelAssembly/Concrete_Material3.material.xml" batchStart="868626" batchCount="2280" vertRStart="369041" vertREnd="371276" />
<Mesh name="Building01_PIVOT" material="LevelAssembly/Glass_Material.material.xml" batchStart="870906" batchCount="396" vertRStart="371277" vertREnd="371540" />
</Mesh>
/>
/>
Is this unsupported?