2018-02-11 snapshot

Post anything about MX Simulator here. Please. I'm begging you.
jlv
Site Admin
Posts: 14912
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

2018-02-11 snapshot

Post 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.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
jlv
Site Admin
Posts: 14912
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2018-02-11 snapshot

Post 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.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Bubba40
Posts: 552
Joined: Thu Apr 18, 2013 3:30 am
Team: Kyb/Enzo

Re: 2018-02-11 snapshot

Post by Bubba40 »

It fixed my lag problems! Thanks Jlv
Image
RXR_Banjo
Posts: 1143
Joined: Fri Mar 28, 2014 12:27 am
Team: MotoStar

Re: 2018-02-11 snapshot

Post by RXR_Banjo »

yayyy it fixed the lag also for me (22 riders with erode) and no lag !!
Phil Doyon #423
DrewHD
Posts: 79
Joined: Mon Nov 28, 2016 4:03 am

Re: 2018-02-11 snapshot

Post by DrewHD »

Fixed my lag issue also! Thanks jlv
Image
Atom6246
Posts: 3991
Joined: Fri Jul 13, 2012 1:28 am
Contact:

Re: 2018-02-11 snapshot

Post 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.
Ddavis
Posts: 17958
Joined: Wed Sep 28, 2011 1:02 am

Re: 2018-02-11 snapshot

Post by Ddavis »

+1 ^

Further explanation would be great.
Clintos15
Posts: 490
Joined: Thu May 21, 2015 7:15 am
Location: Ireland

Re: 2018-02-11 snapshot

Post 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.
2018-2019 AUSMX 250 National Champion
Im washed up :roll:
Image
LKR47
Posts: 893
Joined: Fri Jan 18, 2013 4:26 am
Team: LCQ Studios
Location: McHenry, Illinois
Contact:

Re: 2018-02-11 snapshot

Post 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.
Image
vmaki
Posts: 196
Joined: Sat Jun 02, 2012 2:46 pm
Team: Privateer
Location: Suomi, Finland

Re: 2018-02-11 snapshot

Post 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

Image
LKR47
Posts: 893
Joined: Fri Jan 18, 2013 4:26 am
Team: LCQ Studios
Location: McHenry, Illinois
Contact:

Re: 2018-02-11 snapshot

Post 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

Image
manii20
Posts: 584
Joined: Mon Feb 15, 2016 11:17 pm

Re: 2018-02-11 snapshot

Post by manii20 »

This is sooo sick! What is the best settings for fps-performance contrast? I used to get drops to like 90 fps
RXR_Banjo
Posts: 1143
Joined: Fri Mar 28, 2014 12:27 am
Team: MotoStar

Re: 2018-02-11 snapshot

Post 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
Phil Doyon #423
manii20
Posts: 584
Joined: Mon Feb 15, 2016 11:17 pm

Re: 2018-02-11 snapshot

Post 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!
ryzmx196
Crushed Dissenter
Posts: 79
Joined: Sat May 20, 2017 11:48 pm
Team: PowerDream
Location: UK

Re: 2018-02-11 snapshot

Post by ryzmx196 »

@jlv, i cant connect to servers from the website after getting the new snapshot why is this?
won a moto on my home track
Post Reply