How to render the animation(.x file)

Started by
3 comments, last by mcguile25 18 years, 6 months ago
I have made a animation wiyh Maya and exported to .X files I would like to ask how to render it by directX thanks.
Advertisement
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
game development is liek a state of mind man.. it's liek when you liek... think... and then you liek make it fun++

- Yes I'm drunk.
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 ^^
I think you'll find this helpful.....

http://www.gamedev.net/reference/articles/article2079.asp

This topic is closed to new replies.

Advertisement