Anyone use md2 as your game's model?
I''ve learned how to loading md2 from tut, but I failed to animate the proper model frames.
I set the frame numbers according to the list there:
http://www.planetquake.com/polycount/resources/quake2/q2frameslist.shtml
And I let the program contiguously render the frames (repeatly on one specified animation),
but there''re some animation just seem not right.
I''m wondering if different models would has slightly different definition of animation frames...
I found that the animation "STAND" should be rendered from frame#1 to frame#38 instead of what the list said frame#40.
Am I right? Did I misunderstand something? Someone got the perfect correct list?
Still can not figure out yet.....
As far as I can make out, the frame list is fine and it works with all my MD2 models. Remember that the frame list starts at 1. Your code will index at 0. So the STAND animation will run from 0 - 39 rather than 1 - 40.
Why the md2 loader in GameTut#4 renders STAND from frame#0 to frame#39,
but still got a abnormal "flip" there when repeating the animation?
What''s the problem with that code in GameTut#4?
I can''t figure out what''s wrong with that code,
everything seems okay, but it just works abnormally.....
Is it necessary to interpolate CurrentFrame''s with NextFrame''s normals and vertices or something I have not considered?
Big thanks for your replies.
but still got a abnormal "flip" there when repeating the animation?
What''s the problem with that code in GameTut#4?
I can''t figure out what''s wrong with that code,
everything seems okay, but it just works abnormally.....
Is it necessary to interpolate CurrentFrame''s with NextFrame''s normals and vertices or something I have not considered?
Big thanks for your replies.
I used md2-models for my game Convey. (www.ablazespace.de)
But now I work with Eclypse Entertaiment on Convey and I have to change the used model format into 3ds because the designers and I couldn''t find an good 3ds to md2 converter...
Md2 is an easy to use format and I will miss it...
But now I work with Eclypse Entertaiment on Convey and I have to change the used model format into 3ds because the designers and I couldn''t find an good 3ds to md2 converter...
Md2 is an easy to use format and I will miss it...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement