Jump to content
  • Advertisement
Sign in to follow this  
silvia_steven_2000

what animations are there in an MD2 model ?

This topic is 4835 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

Hi All I have read that md2 models define a set of 21 animations (199 frames) such as STAND (frames 0-39) and so on. I dealt with models that has less than 199 frames. how one can identify what kind of animations are there in a certain model ? md2 frame has a name, something like attack001, from this info one can identify the total number of animations and the number of frames per animation, but still how one can know the number of frames per second for a certain animation ? thanks allot

Share this post


Link to post
Share on other sites
Advertisement
how can one know where an animation starts and where it ends ?
if u check the animation name u might find names like:

stand001
attack02
idle1
spy

I could identify the start and end based on file name but I was experimenting with different md2 files and found the combinations above, some files has a 3 digit sequence number at the end of the name, some has 2, some has 1 and some has 0. if u do not know how to extract the name from the frame then there is no way to automatically detect where animation's start and end. standard md2 files that has 198 frames has a predefined animation's so u can know but what about models with other animation's ?

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!