-
DirectX animation...
Ok, I've made each frame for my character and I'm ready to make him move in a Form. Now, I wanna use DirectX to animate him and I've seen others that put all of there frames in one picture. I can do this easily, but when I do that, where do I start? I have the SDK and I'm reading it but it doesn't really help me on this. Could someome send a little snippet that would animate like three frames? Thanks!
-
Take a look at the AnimKeys sample in the SDK. Beware. There is no such thing as a "snippet" for animation. It is HARD work. The C++ code for loading and drawing skeletal meshes using D3D is over 1000 lines long (its 25-30 printed pages). In fact, you are probably better off trying to write your own code for rendering animations (if you want more info on this, post here, or create another thread).
Z.
-
Thanks, I'll take a look at it. As you could see, I don't know much about animation :)
-
Huh Zaei, he's talking about a 2D game :)
-
In that case, its just a matter of drawing a lot of frames =).
Z.
-
Oafo: There are some good tutorials on DirectX and animation here: http://64.23.12.52/ ;)