Jump to content
  • Advertisement
Sign in to follow this  
fantasyme

Help! 3D animation DirectX

This topic is 3116 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i don't know how to search because i try many keywords on internet but i did't get what i want. i have Mesh/character. when character moves, its legs and arms should move. how can i set these things in directX. i am sure that it won't be frame by frame. there should be some function that tell this mesh to move its parts. somebody, please help.....thanks

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by fantasyme
i am sure that it won't be frame by frame.


Usually it is, actually. The term to search for is "keyframe animation". The idea is basically you have a frame of animation for every time slice. Per game logic frame you calculate the 2 animation frames that bound the current time stamp and blend them together to get the current screen to render. The blend weights the 2 frames based on where you are between the 2 keyframes.

The animations are usually created in an external application and your game simply reads them in, calculates where you are in the sequence and blends the appropriate frames together.

-me

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!