fix for brume massive animation stuttering on win7

All about the core api and animation, input, sound, effect, collision and physics engines.
You can also post here your feature requests.

Moderator: Brume Dev Team

fix for brume massive animation stuttering on win7

Postby jeskeca on Tue Jan 31, 2012 9:32 am

I know there isn't any activity here, and I doubt anyone is using the old Brume 1.6 from years ago... However, in case someone is....

I dusted off an old Brume-based prototype and it had a horrible jittery render on windows7. The same thing happened with the Brume demos. Eventually I tracked it down to something wrong with the way AvgStatTimer is using performance counters to compute inter-frame elapsedTimeMs. I didn't debug to figure out exactly what is wrong with them, but computing inter-frame time with (DateTime.Now - lastFrameTime).TotalMilliseconds fixed the problem.... FYI in case anyone cares..
jeskeca
Brume Rookie
 
Posts: 17
Joined: Wed Apr 02, 2008 4:52 pm

Re: fix for brume massive animation stuttering on win7

Postby Silmaryls on Fri Oct 19, 2012 8:00 pm

Hi Jeskeca !

Thanks for the fix...may help somebody out there :D

Silmaryls
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France


Return to Technical discussion

Who is online

Users browsing this forum: No registered users and 3 guests