Page 1 of 1

Stable FPS

Posted: Mon Nov 23, 2009 6:15 am
by silversamand
I have a problem with irrlicht FPS.i want fix it exactly on 50 but when i change objects of scene (add or remove ) fps drastically changes.
How can i solve it?

Posted: Mon Nov 23, 2009 6:57 am
by vitek
Come up with more realistic expectations.

Constant FPS is nearly impossible.

Posted: Mon Nov 23, 2009 2:54 pm
by abhishekdey1985
As vitek said....be realistic!! It can never happen that u can fix ur application rendering at Fix FPS. U can Limit ur FPS Range by enabling VSYNC.

Re: Stable FPS

Posted: Mon Nov 23, 2009 3:04 pm
by Masterhawk
silversamand wrote:[...]i want fix it exactly on 50[...]
Why would you do so?

Posted: Tue Nov 24, 2009 6:42 am
by Brainsaw
I guess this makes all the timing stuff easier to do.

@silversamand: I don't think that you will be able to achieve that. You could use a simple scene that renders faster than 50 FPS on every hardware and slow rendering down then, but I guess that it's not a good way.

Posted: Tue Nov 24, 2009 9:05 am
by roelor
Brainsaw wrote:I guess this makes all the timing stuff easier to do.

@silversamand: I don't think that you will be able to achieve that. You could use a simple scene that renders faster than 50 FPS on every hardware and slow rendering down then, but I guess that it's not a good way.
actually for some games thats nice, The game may go slower but is still playable.

Posted: Tue Nov 24, 2009 9:18 am
by CuteAlien
roelor wrote:
Brainsaw wrote:I guess this makes all the timing stuff easier to do.

@silversamand: I don't think that you will be able to achieve that. You could use a simple scene that renders faster than 50 FPS on every hardware and slow rendering down then, but I guess that it's not a good way.
actually for some games thats nice, The game may go slower but is still playable.
Agreed. A constant framerate is in many games more playable than a high framerate. And yes - the trick is simply to have scenes that can render with at least 50 FPS. Although using vsync is usually better as it avoids tearing and so you will have 15/30/60 FPS.