Framerate inconsitency

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Peter Prins
Posts: 54
Joined: Fri Mar 11, 2011 11:44 pm

Framerate inconsitency

Post 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.
Fe_Yoshi
Posts: 397
Joined: Tue Jul 04, 2006 5:05 pm
Location: New Tower!

Re: Framerate inconsitency

Post by Fe_Yoshi »

Did you try turning it on and then back off?
It's simple, just take the hydraulic phase ship emulator and attach it to the photon particle emitter, BAM, new tower!
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Framerate inconsitency

Post 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.
Peter Prins
Posts: 54
Joined: Fri Mar 11, 2011 11:44 pm

Re: Framerate inconsitency

Post by Peter Prins »

I seem to have fixed this accidentally. :D
Post Reply