Page 1 of 3

2018-02-11 snapshot

Posted: Mon Feb 12, 2018 1:53 am
by jlv
Changes:
  • More reshading optimization.
  • New "reshade delay" setting in advanced graphics settings.
  • Fixed a bug when recalculation terrain normals for editor.
Windows users: http://www.mxsimulator.com/snapshots/mx ... 1-1391.exe
Linux users: http://www.mxsimulator.com/snapshots/mx ... 02-11-1391

Replace mx.exe or mxbin with one of the above files. The default location for mx.exe should be "C:\Program Files (x86)\MX Simulator". I'd keep a backup of the originals since these aren't well tested.

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 1:58 am
by jlv
"Reshade Delay" lets you delay the terrain reshading for 2^x-1 frames, where 'x' is the delay setting. This will reduce the amount of work done when erode is on at a cost of slower shading updates. If you're around 128 fps a setting of 8 should be a couple of seconds delay, which really helps reduce the number of slow frames you get. If you max it out at 20, it'll be fast but take hours to update. 0 will update on every frame like it used to.

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 2:12 am
by Bubba40
It fixed my lag problems! Thanks Jlv

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 3:02 am
by RXR_Banjo
yayyy it fixed the lag also for me (22 riders with erode) and no lag !!

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 4:39 am
by DrewHD
Fixed my lag issue also! Thanks jlv

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 6:16 am
by Atom6246
I read your explanation for the reshade delay but still a little confused. Anyway you could simplify it for dummies like me? :oops:
Like if I crank it to 20 what will that mean? Erode will be difficult to see at the cost of better performance?
What exactly does the number mean? Like 8 being 8 seconds?

I probably sound stupid but just trying to get a better understanding.

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 6:30 am
by Ddavis
+1 ^

Further explanation would be great.

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 6:36 am
by Clintos15
Atom6246 wrote:I read your explanation for the reshade delay but still a little confused. Anyway you could simplify it for dummies like me? :oops:
Like if I crank it to 20 what will that mean? Erode will be difficult to see at the cost of better performance?
What exactly does the number mean? Like 8 being 8 seconds?

I probably sound stupid but just trying to get a better understanding.
By the sounds of it not sure but the higher it is the longer delay it is for erode to show going off what he's said, otherwise if its on 0 its will show straight away like how it was.

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 8:59 am
by LKR47
Atom6246 wrote:.
Ddavis wrote:.
"delay the terrain reshading for 2^x-1 frames, where 'x' is the delay setting."

2^(20)-1 = 2^19 = 524288

If it's maxed out at 20 it would take 524288 frames to update the terrain shading. If you're running 125fps it would take 4194.304f seconds to update the terrain shading which is about an hour and 9 minutes assuming you're running at a constant frame rate of 125. Hence the " If you max it out at 20, it'll be fast but take hours to update. ".
At least that's what I'm understanding and assuming my math is correct at 3AM.

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 11:50 am
by vmaki
Here are the numbers pushed through Excel.

Code: Select all

                      delay             delay if 125 fps                   

x                    frames           seconds         minutes

0                    0                    0                   

1                    1                    0,008            

2                    3                    0,024            

3                    7                    0,056            

4                    15                  0,12              

5                    31                  0,248            

6                    63                  0,504            

7                    127                1,016            

8                    255                2,04              

9                    511                4,088            

10                  1023              8,184            

11                  2047              16,376          

12                  4095              32,76            

13                  8191              65,528           1,092133333

14                  16383            131,064         2,1844

15                  32767            262,136         4,368933333

16                  65535            524,28           8,738

17                  131071          1048,568       17,47613333

18                  262143          2097,144       34,9524

19                  524287          4194,296       69,90493333

20                  1048575        8388,6           139,81


Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 12:04 pm
by LKR47
vmaki wrote: .
Cool, thanks!

This is North American decimal format for those wondering about the commas from the
original table vmaki posted.

Code: Select all

                      delay             delay if 125 fps                   

x                    frames           seconds         minutes

0                    0                    0                   

1                    1                    0.008            

2                    3                    0.024            

3                    7                    0.056            

4                    15                  0.12              

5                    31                  0.248            

6                    63                  0.504            

7                    127                1.016            

8                    255                2.04              

9                    511                4.088            

10                  1023              8.184            

11                  2047              16.376          

12                  4095              32.76            

13                  8191              65.528           1.092133333

14                  16383            131.064         2.1844

15                  32767            262.136         4.368933333

16                  65535            524.28           8.738

17                  131071          1048.568       17.47613333

18                  262143          2097.144       34.9524

19                  524287          4194.296       69.90493333

20                  1048575        8388.6           139.81


Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 12:53 pm
by manii20
This is sooo sick! What is the best settings for fps-performance contrast? I used to get drops to like 90 fps

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 2:46 pm
by RXR_Banjo
i raced my 250 ams main last night with the new snapshot and i did let it at 8 and i had a solid 125 fps with maxed out graphics just like last year! ill have to try it i lower it to 6 or 4 if i keep this 125 steady fps
manii20 wrote:This is sooo sick! What is the best settings for fps-performance contrast? I used to get drops to like 90 fps

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 4:05 pm
by manii20
RXR_Banjo wrote:i raced my 250 ams main last night with the new snapshot and i did let it at 8 and i had a solid 125 fps with maxed out graphics just like last year! ill have to try it i lower it to 6 or 4 if i keep this 125 steady fps
manii20 wrote:This is sooo sick! What is the best settings for fps-performance contrast? I used to get drops to like 90 fps
Thank you!

Re: 2018-02-11 snapshot

Posted: Mon Feb 12, 2018 4:56 pm
by ryzmx196
@jlv, i cant connect to servers from the website after getting the new snapshot why is this?