How to render the animation(.x file)
I have made a animation wiyh Maya and exported to .X files
I would like to ask how to render it by directX
thanks.
You could check out this free lib to animate meshes DirectMesh
You could also learn to parse the meshes yourself to extract the animation info at triplebuffer
You could also learn to parse the meshes yourself to extract the animation info at triplebuffer
you should check directx SDK. There is a sample which shows how load and display animation.
I would definitely AVOID looking at the sample in the DirectX SDK. I once looked at it and almost lost my eyes ^^ Well, to be more serious, this sample is awfully written. It's not commented, and they do it the dirty way. I spent almost 3 days just to understand how to add something to speed up / down the animation, and to set the total time of the animation !
Maybe I was really bad at that time, and maybe the sample has been rewritten since then. But I strongly suggest to FIRST look at the links given by noaktree before opening the DirectX sample ^^
Maybe I was really bad at that time, and maybe the sample has been rewritten since then. But I strongly suggest to FIRST look at the links given by noaktree before opening the DirectX sample ^^
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement