I am about to port a project from DX9 to DX11 the project use Collada animations, but as var as I know collada does not support animations in DX11 (and as I understand it from more knowledgeable people, collada kind of suck anyway).
so how do I get animations into a 3D model that I can use with DX11?
Here you should be able to just drop your exisitng file inside if it worked before because it sitll uses the dx9 collada node.
At the time when we needed it the assimp nodes still could not do animation. however check out microdees emeshe droid girl example to see the new nodes in action
I checked your contribution out, but it have some limitations for me, as I am not using skinning animations, but animating the “regular” transforms. and your translation from DX9 to DX11 is no good here since the there is no way of getting the bin size of the subsets of the mesh.
so I am still looking, it doesn’t have to be collada, but could be FBX. but I am struggling a bit figuring out how I can import an animation from an FBX-file.
collada still most relible solution, i know vux started to work on FBX support however u can use assimp animation nodes, here is patch illustratin transform animation
@joreg, no because that way will not keep the subsets of the model, so the individual animations will not work or they will animate the whole model the number of times there are animations.
converting dx9 mesh to dx11 is pretty ugly, don’t do that even for every frame ugh :P in assimp there’s a pretty straightforward animation pipeline where you can get animated transforms via animation channels. checkout emseshe examples for a working instance or i don’t know what tekcor’s assetsdb-dx11 is using but most probably the same.
there is this shit with aassimp animation that u have it in local axis orientation of ur 3d package, still could’t find way to fix that other then by hand…
i didn’t experience that yet, but that’s still not an excuse, use decompose and scale your own. unless you have like 100 trees with 200 bones each for the branches animated for wind motion, but then you have to use other magic optimization on gpu with the animation :P.