Author Topic: Small feature request  (Read 1550 times)

0 Members and 1 Guest are viewing this topic.

Offline Lightspeed

  • Light Years Ahead
  • 212
Shouldn't be too hard to implement, but would be pretty useful:

-fps_cap XX

Locks the maximum FPS to any given number 'XX'.
Modern man is the missing link between ape and human being.

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
...May I ask why?
Freelance Modeler | Amateur Artist

 
Completely useless to most people I'd guess - and not that easy to implement either (presumably you'd have to write in a hook somewhere to block the rendering of every xth frame). What on earth would you need it for? Compatibility with some screen capture program? Playtesting missions on a simulated crappy machine?

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
My guess is to aleviate the framerate changes (usually from whatever the max is on a particular machine to about half of that) that occur when looking at/away from intensive-graphics objects or backgrounds.  It would be near-impossible to impliment though, and stopping the stutter in the first place would be the way to go.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Lightspeed

  • Light Years Ahead
  • 212
Well, might be easy since the original game had a limit at 120 FPS anyway, so maybe it's just the matter of hooking it up to a customizeable variable :)

As for the reason: When running at high refresh rates, it'd be a lot better if you could lock to half of your refresh rate (V_synched at 50% if you want it that way). I.e. run at 40 FPS at 80 Hz. This way, you wouldn't have any stuttering anymore (unless it goes below 40).

The problem is big changes in framerates, which will always result in "stutters" which you cant get rid off unless you max your FPS all the time - or keep it stable by locking it down.
Modern man is the missing link between ape and human being.

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
The limit of 120 is somewhat machine-hardcoded though.  It's the same in FSO without Vsync, there's no way to get it over 120.  So it's not like all you'd have to do is find that setting and change it to a user-defined variable.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Lightspeed

  • Light Years Ahead
  • 212
Since Kazan could simply "remove" the cap, I guess it IS some kind of rendering limitation set to that value.

We're not talking about V_synch here, but about an actual FPS limitation.
Modern man is the missing link between ape and human being.

  

Offline Flipside

  • əp!sd!l£
  • 212
I think it can be changed, and I think it's a good idea to be honest. Just because the graphics card CAN run at 120fps, it is still taking work from the CPU in generating those frames iirc.

Capping it off would actually allow more other stuff to go on in the CPU with the idle time :)