Hi...
A couple of questions about .X file use.
1)
I know that you are able to change textures on a .X file in a live scene. So for example you can put on a new shirt and the script changes the png that is loaded on the .X file and it will instantly change in front of the players eye.
I was wondering can you do this for actors themselves. As in is there a way, with out changing the scene, to have a new Actor load onto screen in the exact same position as the old one....
EG:- You are wearing Pants and a Shirt and boots. You then put on a dress. A dress needs a different 3D model to pants.
I know though scripting that you can get actor position and direction. So it shouldn't be hard to load a new actor into the correct position for when you put on the dress, but as far as I know you need to load all the actors when the scene loads. If you can load a 2nd actor file but not have it display in the scene, and then remove one and activate the other.. maybe it could be done that way..., but can it be done in front of the players eye?
If you can not get the model to change in front of the user, could you do it with say, something like the character goes behind an object (for modesty sake) to change, then when you walk back out you are seeing the new model?.. the point is can you change the model with out re-loading the scene.
Any ideas?
2)
You know how you can load different animations though separate .X files onto a main actor .X file. How exactly dose this work? I assume it simply takes the transform information on the bones and applies it to the .X file you have loaded.
Would this mean that if I had different models, that used the same rig, so all the bones are exactly the same, but use a different Skin set up on the mesh itself... would these all still be transferable?
EG:- Pants vs Dress. You could build a skeleton rig that is exactly the same that would drive both models even though they are different meshes. But the Dress would have a very different vertex weighting skin to that of the pants.... if only the transform data is shared this should not be a problem. (dose this make sense?)
Thanks in advance.