Skip to main content
GameDev.net gamedev.net
🔒 Locked

Animation Set

Started by jad_salloum Jan 24, 2007 at 3:07 AM 4 replies 650+ views
Original Post
jad_salloum
jad_salloum
hi guys , i have written a loader that reads the matrixs for all the bones and for all the frames in my .Xfiles but the problem is that i don't know how to apply these data to my mesh and let it move with the new animation :). maybe i need to save them in animation set of dunno what . any sugestions ??
webjeff
webjeff
This is an area where most people use the built in animation functions using D3DX. You, like myself, have a more difficult time. I am doing it manually (for learning purposes). Animation is a bit weird, you have a time that you need to interpolate between positions, then apply those trans/rot/scale onto your bones.

I have not done this yet, but a good example where I have only glanced at a few times, is here:

http://www.xbdev.net/3dformats/x/xfileformat.php

The animation tutorial isn't done, but if you scroll down, he has this downloable demo with source:

Full Skinned Character Animation - Which gives a good detail of information for doing animations. His isn't fully complete as I have found a few issues with it, but its a really good start.

Jeff.

jad_salloum
jad_salloum
thanks 4 ur reply jeff, but this sample is in C++ while i am working in C# so it is alittle bit confusing , isn't there any sample in C# for creating an Animation Set and applying it to a mesh ?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.