   multi mesh support in d3d
  I need a code that can load ,render multi mesh in d3d.I already have a code that can work with single mesh.I want to expand it to support multi mesh.I could load and render every part as a single and render them seperately.but I found some info could be shared.for example skeleton animation. every sub mesh has the same skeleton animation info. and has different mesh, texture, skin.but I do not know if skeleton could be shared?it seem each sub mesh could has different skeleton offset matrix.any one code multi mesh experience?   
  I'm not aware of any "ready made" solutions to this, but its more of an engine-level detail. You'd design your program/engine so that it can handle multiple instances of a "mesh" or "object" class for example.When it comes to sharing data it gets as complicated as you want - you could go as far as sharing and combining VB's and IB's for example. In general you're going to have to create some sort of pool that manages the loading and formatting of objects - this pool/manager checks the incoming data to see if it already exists and re-uses it if appropriate.Remember that you need to be careful when tidying up - you dont want to delete shared data that another mesh is still relying on. Equally, you dont want to go changing any shared variables as they'll affect multiple instances - you need a method to clone/split shared data if/when changes are required.hthJack   