However when we go to convert the XML files using OgreXMLConverter the skeleton converts fine it seems, but when I go to convert the mesh it says that it cannot load the skeleton file.
Before anyone asks.. yes I have made sure the file exists and is in the same directory as the ogrexmlconverter tool and the mesh xml.
Here is what I get from the log:
Code: Select all
14:11:33: XMLMeshSerializer reading mesh data from finger.mesh.xml...
14:11:33: Reading submeshes...
14:11:33: Reading geometry...
14:11:33: Geometry done...
14:11:33: Reading bone assignments...
14:11:33: Bone assignments done.
14:11:33: Submeshes done.
14:11:33: Skeleton: Loading finger.skeleton
14:11:33: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource finger.skeleton in resource group General..
File: c:\documents and settings\jwoynillowicz\desktop\ogrenew\ogremain\src\ogreresourcegroupmanager.cpp
Line: 493
Stack unwinding: <<beginning of stack>>
14:11:33: Unable to load skeleton finger.skeleton for Mesh conversion. This Mesh will not be animated. You can ignore this message if you are using an offline tool.
14:11:33: XMLMeshSerializer import successful.
14:11:33: Reorganising vertex buffers to automatic layout..
14:11:33: MeshSerializer writing mesh data to finger.mesh...
14:11:33: File header written.
14:11:33: Writing mesh data...
14:11:33: Writing submesh...
14:11:33: Submesh exported.
14:11:33: Exporting skeleton link...
14:11:33: Skeleton link exported.
14:11:33: Exporting bounds information....
14:11:33: Bounds information exported.
14:11:33: Exporting submesh name table...
14:11:33: Submesh name table exported.
14:11:33: Exporting edge lists...
14:11:33: Edge lists exported
14:11:33: Mesh data exported.
14:11:33: MeshSerializer export successful.
14:11:33: Unregistering ResourceManager for type Skeleton
14:11:33: Unregistering ResourceManager for type Material
14:11:33: Unregistering ResourceManager for type Mesh
EDIT:
I am using a Maya 6.0 file, exporting using the commandline tool to create .mesh, .skeleton, .material and then trying to use the OgreXMLConverter tool. I just noticed that the exporter is for Maya 6.5, does that mean it cannot be used on Maya 6.0 files?
It is very simple geometry and animation used for a test.