Well I promised I would put it up in the next week or so, here it is! It’s been a long time coming, even though this blog is new I been writing this thing on and off for a while and finally bothered to finish it.
This is a complete tutorial for loading static, skinned and morphing meshes from COLLADA and rendering them correctly in DirectX. Full source code with example .dae files.
However due to a problem with the COLLADA exporter, morphing mesh data doesn’t get exported right and therefore cannot really be tested, the code for it is correct however as I double checked all results with the official COLLADA rendering example provided with the COLLADA DOM api. Hopefully they resolve the issues and the code becomes useful again!
To make up for this shortfall I will give a complete tutorial on morph target meshes for XNA, including skinning morph targets! Keep visiting this blog and you’ll see it shortly…
Anyways, here are the files you are interested in! The Source Code has specific projects for each chapter, with the COLLADADirectX project being an all-in-one solution to loading COLLADA meshes.
If you only care about using my COLLADALoader class and not learning COLLADA, just use the class from the COLLADADirectX project, the other projects are for specific chapters.
I think it’s fairly easy to follow, let me know what you think! =)