Original Post
I have a hero, I want to change his cloth at run time. I think 2 solution: 1. just change material/texture. quesion: if export mesh from 3dmax by pandle and then load .x ,I only can load a mesh per a material/texture. how to load mutliple material/texture? I do this way,first load a mesh and material/texture normal.and then I create other material/texture in 3dmax,and them export it as a seperated .x file call xxxmaterial.x(xxx = mesh that have the material/texture) and load the .x and then get the material/texture ,put it to mesh class(that have multiple material/texture object defined) it seem to be a little unconvenient. any better way are very welcome. 2. change mesh. I define a hero class ,that have many mesh reference,and have a current mesh id. if I change a cloth, I just set cloth id that I need. renderer code just render mesh that current id point to. class hero { vector meshcloth; Mesh * myBody; int mycurrentWearClothId; Mesh* getCloth(int id) {return meshcloth[id]) render() {mybody->submit(); getCloth()->submit()} } any better idea? thanks