ogre-next
ogre-next copied to clipboard
Pose animations not supported when exporting to v2 mesh
System Information
- Ogre Version: v2.2.5-vc19-x64
- Operating System / Platform: Windows 10 Pro x64 v10.0.19041
- RenderSystem: any
- GPU: any
Detailled description
I was looking into issue #78 from blender2ogre and came to the conclusion that something is wrong with OgreMeshTool and poses.
Exporting a cube from blender2ogre with very simple poses takes more than a second to export and finishes with non-zero status (indicating some error, but not showing anything wrong).
When using a more complex model, like the one from issue #56, OgreMeshTool does not even write the binary mesh file and again it does not say what the problem is.
OgreMeshTool.log
D:\Assets\Export\Test>D:\OGRE2\ogre-sdk-v2.2.5-vc19-x64\bin\Release\OgreMeshTool.exe -e -O puqs -v2 D:\Assets\Export\Test\Cube.mesh.xml
XMLMeshSerializer reading mesh data from D:\Assets\Export\Test\Cube.mesh.xml...
Reading geometry...
Geometry done...
Reading submeshes...
Submeshes done.
Reading mesh names...
Mesh names done.
XMLMeshSerializer import successful.
WARNING: Mesh 'conversionSrcXML' has shared vertices. They're being 'unshared' in Mesh::arrangeEfficient
Saving as a v2 mesh...
MeshSerializer writing mesh data to stream ...
File header written.
Writing mesh data...
Writing submesh...
Submesh exported.
Exporting LOD level thresholds....
LOD level thresholds exported.
Exporting bounds information....
Bounds information exported.
Exporting submesh name table...
Submesh name table exported.
Mesh data exported.
MeshSerializer export successful.
D:\Assets\Export\Test>echo %ERRORLEVEL%
-1073740940
Callstack
How do I get the call stack?
I'm using ogre-sdk-v2.2.5-vc19-x64
Notes:
- When using OgreMeshTool -v1 there are no issues.
- I'm unable to test the generated mesh file since I don't use Ogre v2 and haven't seen any mesh viewers (Meshy is for Ogre v1)
- Link to the Blender file with the cube: OgreMeshTool_Fails.blend
- Cube.mesh.xml generated by blender2ogre: Cube.mesh.xml