Page 1 of 3

2022-01-14 snapshot

Posted: Sat Jan 15, 2022 2:25 am
by jlv
Changes:
  • Terrain normals are now calculated in the fragment shader instead of being baked into the terrain normal map cache.
  • Added "Terrain Sync Rate" setting.
  • Removed update rate restriction when painting in editor.
The terrain sync rate controls how quickly the system memory height map is synced with the graphics memory height map. "0" is 64k per frame, "1" is 128k, "2" is 256k etc. Probably best to keep it set low since it'll still update plenty fast and you leave more bandwidth for other stuff that way, but even at 10 it shouldn't max out a PCIe 3 bus.

Windows users: https://mxsimulator.com/snapshots/mx-2022-01-14-1619.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2022-01-14-1619

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". Please note that the ".exe" extension is hidden in Windows so the file will just show as an application named "mx". I'd keep a backup of the originals since these aren't well tested.

Re: 2022-01-14 snapshot

Posted: Sat Jan 15, 2022 2:58 am
by SethShirley44
okay so, what would be the most recommended setting for this?

Re: 2022-01-14 snapshot

Posted: Sat Jan 15, 2022 3:02 am
by dominicschofield
New snapshot drops my frames by 50%. Changed all graphics settings to go for high fps, no change.
System: Radeon 590x (GTX 1660 equivalent), Ryzen 5 3600, 16 gb ram

Re: 2022-01-14 snapshot

Posted: Sat Jan 15, 2022 11:08 am
by Jakob Hubbard
No problems with framedrops for me after testing on some outdoor demos. I have an intel i9 and an NVIDIA card so I can't say for people with AMD cpu's/cards but I haven't had any problems so far.
SethShirley44 wrote: Sat Jan 15, 2022 2:58 am okay so, what would be the most recommended setting for this?
0 will work perfectly fine.

Re: 2022-01-14 snapshot

Posted: Sat Jan 15, 2022 5:15 pm
by SethShirley44
Jakob Hubbard wrote: Sat Jan 15, 2022 11:08 am No problems with framedrops for me after testing on some outdoor demos. I have an intel i9 and an NVIDIA card so I can't say for people with AMD cpu's/cards but I haven't had any problems so far.
SethShirley44 wrote: Sat Jan 15, 2022 2:58 am okay so, what would be the most recommended setting for this?
0 will work perfectly fine.
Thanks Hubbo <3

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 12:01 am
by motokid499
dominicschofield wrote: Sat Jan 15, 2022 3:02 am New snapshot drops my frames by 50%. Changed all graphics settings to go for high fps, no change.
System: Radeon 590x (GTX 1660 equivalent), Ryzen 5 3600, 16 gb ram
I could be mistaken but I think the newer snapshots (past 03-31) are still having issues on AMD cards.

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 1:10 am
by SergeantNate
jlv wrote: Sat Jan 15, 2022 2:25 am Changes:
  • Terrain normals are now calculated in the fragment shader instead of being baked into the terrain normal map cache.
  • Added "Terrain Sync Rate" setting.
  • Removed update rate restriction when painting in editor.
The terrain sync rate controls how quickly the system memory height map is synced with the graphics memory height map. "0" is 64k per frame, "1" is 128k, "2" is 256k etc. Probably best to keep it set low since it'll still update plenty fast and you leave more bandwidth for other stuff that way, but even at 10 it shouldn't max out a PCIe 3 bus.

Windows users: https://mxsimulator.com/snapshots/mx-2022-01-14-1619.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2022-01-14-1619

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". Please note that the ".exe" extension is hidden in Windows so the file will just show as an application named "mx". I'd keep a backup of the originals since these aren't well tested.
So in dumbass terms what does this update do?

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 1:45 am
by Jakob Hubbard
SergeantNate wrote: Sun Jan 16, 2022 1:10 am So in dumbass terms what does this update do?
Updates the way erode changes to the track are stored into your computer. It removes the need for a reshade delay and instead syncs the terrain changes from the fragment shader to the graphics memory. Basically terrain sync rate is the rate at which the calculated erode changes to the terrain actually syncs to what you see on track. (I believe)

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 1:55 am
by jlv
SethShirley44 wrote: Sat Jan 15, 2022 2:58 am okay so, what would be the most recommended setting for this?
0 should be fine. Turn it up a step if you notice the shading isn't updating fast enough. In the worst case where the entire terrain is simultaneously modified, it would take 256 frames to update a 2049x2049 terrain at 0. If you set it to 8 it'll update that terrain in one frame. But doing the whole thing at once could cause a stutter, so it's up to you.
dominicschofield wrote: Sat Jan 15, 2022 3:02 am New snapshot drops my frames by 50%. Changed all graphics settings to go for high fps, no change.
System: Radeon 590x (GTX 1660 equivalent), Ryzen 5 3600, 16 gb ram
Is this vs the previous snapshot that switched to core OpenGL 3.1 or vs the older ones that used OpenGL 1.2+extensions? I know there's a performance problem with AMD cards on Windows with the new OpenGL code (i.e. since 2021-11-22). I was waiting on a new drive so I could install Windows on my AMD machine but I was already pretty deep into redoing the reshading code when it arrived. Going to investigate that now.
SergeantNate wrote: Sun Jan 16, 2022 1:10 am So in dumbass terms what does this update do?
Faster reshading with erode or when editing.

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 2:52 am
by Donut MX
I encourage everyone to go try painting a gradient in the editor :D :D

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 3:46 am
by Jakob Hubbard
Donut MX wrote: Sun Jan 16, 2022 2:52 am I encourage everyone to go try painting a gradient in the editor :D :D
Didn't test this until now and it's sooo satisfyingly smooth :D

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 9:18 am
by Bradclay306
Donut MX wrote: Sun Jan 16, 2022 2:52 am I encourage everyone to go try painting a gradient in the editor :D :D
Sanday 3.0? :lol:

Re: 2022-01-14 snapshot

Posted: Sun Jan 16, 2022 1:33 pm
by Ash
Donut MX wrote: Sun Jan 16, 2022 2:52 am I encourage everyone to go try painting a gradient in the editor :D :D
So satisfying ! Next step : Have the possibility to resize decals directly on the editor instead of :
1 - Open the decals file with notepad
2 - edit size
3 - reload the map
4 - check if the size is right, if not, go to 1.

Re: 2022-01-14 snapshot

Posted: Mon Jan 17, 2022 4:40 am
by Donut MX
Bradclay306 wrote: Sun Jan 16, 2022 9:18 am
Donut MX wrote: Sun Jan 16, 2022 2:52 am I encourage everyone to go try painting a gradient in the editor :D :D
Sanday 3.0? :lol:
:shock: :shock: :shock:

Re: 2022-01-14 snapshot

Posted: Mon Jan 17, 2022 11:40 am
by TM_Infidel
dominicschofield wrote: Sat Jan 15, 2022 3:02 am New snapshot drops my frames by 50%. Changed all graphics settings to go for high fps, no change.
System: Radeon 590x (GTX 1660 equivalent), Ryzen 5 3600, 16 gb ram
Turn Vsync off in your GFX settings.