quote: Even before you get to animation blending...how do you export a 3DS model with more than one animation or timeline?
You don''t. AFAIK, you have two options: 1. Export to different .X files and manually merge them into a single file by copying and pasting. (This has been explained in other threads. See: http://www.gamedev.net/community/forums/topic.asp?topic_id=126399). Then you just load the resulting file. 2. Export to different .X files and load the animations from these files into a single animation controller. This is the way multiple animations are loaded in the Mesh Viewer tool that comes with the DX9 SDK.
// Load the new animation set into track 0 m_AnimController->GetAnimationSet(AnimIndex, &AnimSet); m_AnimController->SetTrackAnimationSet(0, AnimSet);
// Set the track description // Set the weight to 0 for the blend Desc.Weight = 0; Desc.AnimTime = AnimSet->GetPeriod(); m_AnimController->SetTrackDesc(0, &Desc);