Hi
I have just started to experiment with the Ogre engine. Now I have faced a big problem. I hope someone can help me!
Ok.
I have built a character in Maya. The character has two parts, Head and Body. They use two different bitmap textures. When I select both parts and export them, it looks like this in my application:
It looks like the vertexes that belong to the head have been placed all over the body.
It more look like the head texture is used on the body mesh.
Anyway, export Body and Head as one Mesh (I don't know Maya, but I guess it has some function to join two object to one or such). The exporter should take care of correct submesh creation. For each material you use in an object in maya, one submesh with the correct material/texture is created.
You can access submeshes from mesh using Ogre::Mesh::getSubMesh or using the iterator given by Ogre::Mesh::getSubMeshIterator and then set the material name of each submesh with Submesh:setMaterialName