Sign in to follow this  

New to .X File Hierarchy Loading

Recommended Posts

WarPlayArt    100
Hello everyone, This is my first post on and I'm pretty excited to learn from you guys who are experienced. I'm wondering if anyone has studied the tutorial at this link: if yes, would the source code be a good study guide? and also I got plenty of questions about Track handling, Mesh handles, and etc relating to this project. -Thank you

Share this post

Link to post
Share on other sites
_Camus_    138
Hi, I Really suggest to read and understand all the theory, but that
source code has some pivot problem with the combinationMatrix, thing
i never could find, the problem i have was:

Once you understand the theory, you'll be able to make your own implementation,
but, if you want to study some code, check the Directx 9 SDK, there is one
about skinning.

Toymaker only cover software skinning, the SDK Sample covers indexed, non-indexed, ASM, HLSL and software. Witch one of those offer different
advantages, the best i believe is HLSL, fast for instancing, you can use
per pixel lighting, etc.

Sorry my bad English

Share this post

Link to post
Share on other sites
hotpixel    156
I would also recommend reading Advanced Animation with DirectX by Jim Adams

His code is DX9b (I think) so a lot of the libraries he used have been superseded so his source code which he includes doesn't work (the executables run but the code doesn't compile) BUT its not that different. The new DX skinning stuff just does a lot of the work for you and hides it, so if anything this book opens it up for you allowing you to understand what DX is actually doing. Mixed with the DX SDK skinning example it's a very powerful tool, you can actually modify the book code to work if you have the patience. He goes through the X file structure in massive detail and also explains how to load, use and blend animations from the X file which helped me write my own blend system and which I couldn't of done without this book. I would say it was a necessity if you ever wanted to ditch the DX helpers and write/load/use your own model system.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this