Jump to content
  • Advertisement
Sign in to follow this  
Endar

md2 animation speed

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

Advertisement
Yeah, the rendering context for OGL, I really have no idea what's happening there. It's not a big deal at the moment, so I figure I can go back and fix it later.


With the animation, it was going a little fast? Keep in mind that it was running at 50fps.

Anyway, I'm probably going to leave the animation lag thing for the moment and try to load an md3, or, if you have a good site with a tutorial, or good file specs, I might just try an md5. [smile]

Share this post


Link to post
Share on other sites
with regards to the 30 seconds of lag, I get this all the time when debugging and stepping through code. My frametimer simply clamps time delta to a max of 0.25 secs.

As for looping the anim time around, use a while loop inplace of an if statement....

ie,

while( curr_time > anim_duration )
{
curr_time -= anim_duration;
}

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!