Collada 3DS Exporter: OpenCOLLADA_3ds_Max_1.2.5_x86
3DS Max model:
http://www.3dm3.com/modelsbank/model445.htmHorde SDK: Horde3D_SDK_1.0.0_Beta4 (no modifications to engine)
Problem:ColladaConverter returns without any error in the console, there is a geometry and anim files as well as a scene.xml, but there is obviously no geometry in the file. The scene XML is just:
<Model name="tank" geometry="models/tank/tank.geo">
</Model>
Root cause:I tried to attach the DAE XML output from the converter, but could not because of size-limit. Basically:
bool DaeNode::parse( const XMLNode &nodeNode )
{
reference = false;
id = nodeNode.getAttribute( "id", "" );
if( id == "" ) return false;
This code cannot parse the following DAE section:
Code:
<visual_scene id="MaxScene">
<node name="EnvironmentAmbientLight">
<instance_light url="#EnvironmentAmbientLight" />
</node>
<node id="node-Cylinder01" name="Cylinder01">
<translate>0 8.635203 20.67684</translate>
<rotate>-0.5773503 -0.5773503 -0.5773503 -120</rotate>
<scale>1.040209 1.040209 0.9999999</scale>
<node>
<matrix>1 0 0 -41.72702 0 1 0 -10.16675 0 0 1 33.30056 0 0 0 1</matrix>
<instance_geometry url="#geom-Cylinder01">
<bind_material>
<technique_common>
<instance_material symbol="_1_-_Default_1" target="#_1_-_Default-material">
<bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1" />
</instance_material>
</technique_common>
</bind_material>
</instance_geometry>
</node>
</node>
Is this a code bug or did I export incorrectly?