what animations are there in an MD2 model ?
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
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 ?
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 ?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement