- Messages
- 132
- Country
I think I found the reason my 3D canvas exporter fails for some animations.
There seems to be a problem with the modeldef.xml file I have.
Here are a couple of the entries - NOTE the capitalization of the typeParam/typeParam2 attributes. My XML parser ignores the ones that are all lower case.
<Animation name="l_tire_blurred_key" guid="2c52a54a-9902-487a-a355-d00874ce7d0f" length="100" type="Sim" typeParam2="l_tire_blurred_key" typeParam="AutoPlay" />
<Animation name="door_0" guid="9B5ED86C-B114-4924-B5C9-163A99042F2F" length="100" type="Sim" typeparam2="door_0" typeparam="AutoPlay" />
This really isn't the way things should be done with XML - case is very important.
Can anyone else confirm the same entries in their modeldef.xml file?
The MS 3DS/gMax exporter obviously takes this into account but it could be a potential problem for writers of exporters for other 3D packages.
There seems to be a problem with the modeldef.xml file I have.
Here are a couple of the entries - NOTE the capitalization of the typeParam/typeParam2 attributes. My XML parser ignores the ones that are all lower case.
<Animation name="l_tire_blurred_key" guid="2c52a54a-9902-487a-a355-d00874ce7d0f" length="100" type="Sim" typeParam2="l_tire_blurred_key" typeParam="AutoPlay" />
<Animation name="door_0" guid="9B5ED86C-B114-4924-B5C9-163A99042F2F" length="100" type="Sim" typeparam2="door_0" typeparam="AutoPlay" />
This really isn't the way things should be done with XML - case is very important.
Can anyone else confirm the same entries in their modeldef.xml file?
The MS 3DS/gMax exporter obviously takes this into account but it could be a potential problem for writers of exporters for other 3D packages.