Page 1 of 1

Framerate inconsitency

Posted: Sun Jan 06, 2013 1:11 pm
by Peter Prins
I have a problem with my game's frame-rate. It varies greatly; from as much as 700 fps to as little as 20 fps. I have no idea what causes this, but I have not much else running besides the bepu physics engine and the bepu physics drawer.

Re: Framerate inconsitency

Posted: Sun Jan 06, 2013 8:12 pm
by Fe_Yoshi
Did you try turning it on and then back off?

Re: Framerate inconsitency

Posted: Sun Jan 06, 2013 8:16 pm
by Norbo
I'm afraid I can't help without more information. That inconsistency could be caused by anything from graphics drivers to evil microgremlins. I would recommend grabbing a profiler or compiling BEPUphysics with the PROFILE compilation symbol and checking the stage timings at runtime. Check out the CharacterStressTestDemo's commented DrawUI section for a usage of the timing data.

Re: Framerate inconsitency

Posted: Fri Jan 18, 2013 9:35 pm
by Peter Prins
I seem to have fixed this accidentally. :D