Original Post
🔒 Locked
.x files
Advertisement
Yes iti is possible. Different frames may have different meshes. The catch is that you don't use D3DXLoadMeshFromX to load mesh. You can either use D3DXLoadMeshHierarchyFromX or parse file yourself like in documentation sample.
Or you can always parse it youself.
The reason for this is that D3DXLoadMeshFromX will concantenate all meshes in file in one mesh. If you, however, decide to load frame hierarchy yourself, you can get all meshes individually in tree like structure
Or you can always parse it youself.
The reason for this is that D3DXLoadMeshFromX will concantenate all meshes in file in one mesh. If you, however, decide to load frame hierarchy yourself, you can get all meshes individually in tree like structure
There's a good book called Anvanced Animation With DirectX (Amazon). It has a lot of code and explanations on this.
The code for loading multiple objects is quite large. I've made an example of it, but documentation would help better.
The thing is you can create your own template and store custom data in X file.
The code for loading multiple objects is quite large. I've made an example of it, but documentation would help better.
The thing is you can create your own template and store custom data in X file.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement