View Issue Details

IDProjectCategoryView StatusLast Update
0004369The Dark ModFeature proposalpublic19.09.2016 20:09
Reporternbohr1more Assigned Tonbohr1more  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionTDM 2.04 
Target VersionTDM 2.05Fixed in VersionTDM 2.05 
Summary0004369: Dynamic Lightgem Interleave
DescriptionIt should be easy to poll the existing framerate and if it goes below a defined cvar threshold set tdm_lg_interleave to 1, while also setting it back to tdm_lg_interleave "n" when FPS rises above this threshold.
Additional InformationPerhaps consider 2 stages?

0 to 25FS = interleave 1
26 to 55 = interleave 2
55 to 60+ = interleave 4

though this would be more beneficial if FPS were unbounded or the default FPS limit were increased to 120. Add code support in anticipation of this?
TagsNo tags attached.

Activities

nbohr1more

nbohr1more

05.09.2016 12:38

developer   ~0008305

Last edited: 06.09.2016 16:40

My local prototype is mostly functional. Will tune the FPS averaging and commit a build soon.

Note: gameLocal.msec

nbohr1more

nbohr1more

07.09.2016 01:59

developer   ~0008309

Last edited: 07.09.2016 02:12

SRC rev 6620

Binary 14588

nbohr1more

nbohr1more

07.09.2016 02:24

developer   ~0008310

Last edited: 19.09.2016 20:08

Documentation:

tdm_lg_interleave_min

Sets the minimum framerate where lightgem interleave will begin.

Default value = 40FPS

nbohr1more

nbohr1more

19.09.2016 20:09

developer   ~0008331

Updated the FPS calculation to do a weighted average where the newest two frames are biased 2x and 3x. It seems to smooth the transition between interleaved and non-interleaved states better.

Issue History

Date Modified Username Field Change
03.09.2016 17:31 nbohr1more New Issue
03.09.2016 17:31 nbohr1more Status new => assigned
03.09.2016 17:31 nbohr1more Assigned To => nbohr1more
05.09.2016 12:38 nbohr1more Note Added: 0008305
06.09.2016 16:40 nbohr1more Note Edited: 0008305
07.09.2016 01:59 nbohr1more Note Added: 0008309
07.09.2016 02:12 nbohr1more Note Edited: 0008309
07.09.2016 02:12 nbohr1more Status assigned => resolved
07.09.2016 02:12 nbohr1more Resolution open => fixed
07.09.2016 02:24 nbohr1more Note Added: 0008310
18.09.2016 05:46 nbohr1more Fixed in Version => TDM 2.05
19.09.2016 20:08 nbohr1more Note Edited: 0008310
19.09.2016 20:09 nbohr1more Note Added: 0008331