Set Material To SubMesh


25-01-2010 23:53:42

I not understand - where in MOgre member for assigning materials for SubMeshes.How to save SUBmesh with new assigned material :?:

I trued - it works , but when restart my program and load mesh - load old materials(


26-01-2010 14:49:49

The MeshSerializer can save changed meshes:

//.. assign new materials to submeshes

using (MeshSerializer ms = new MeshSerializer())
ms.ExportMesh(myMesh, FilenameOfTheNewMesh);


26-01-2010 16:34:34

Thanks! Its works.My deals go as on oil.