Ogre Version: OgreXMLConverter Tsathoggua (14.4.0)
Operating System: Windows 11
Render System: n/a
Code: Select all
D:\dev\git\ogre-meshviewer\newmat>D:\dev\git\ogre_build\bin\release\OgreXMLConverter.exe ninja2.mesh.xml
-- OPTIONS --
source file = ninja2.mesh.xml
destination file = ninja2.mesh
log file = OgreXMLConverter.log
-- END OPTIONS --
XMLMeshSerializer reading mesh data from ninja2.mesh.xml...
Reading submeshes...
Reading geometry...
Geometry done...
Reading bone assignments...
Bone assignments done.
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Material
Unregistering ResourceManager for type GpuProgram
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Error: Material with the name Examples/Ninja already exists.
I can't convert a mesh xml that has multiple submeshes with the same material. Even the standard ninja model can convert to xml but can't be converted back because it has submeshes with the same material. If I give submeshes a different material it works. If a mesh has submeshes with the same material how do I convert an xml back to it?