Page 1 of 6

2023-10-14 snapshot (Updated on 2023-10-29)

Posted: Sun Oct 15, 2023 1:20 am
by jlv
Changes:
  • Fixed vertex shader bug for environment mapped objects.
  • Changed texture memory counter from 32 to 64 bits on Windows.
  • New "treadmark" option in tileinfo file for leaving treadmarks behind bikes.
  • Increased max animated texture size to 256k pixels per frame.
  • Added mx.seed to track scripts for repeatable random numbers.
  • New graphics setting to limit max treadmarks dropped.
  • New graphics setting to set ground texture incremental update rate.
  • New graphics setting to choose which texture pyramid levels to enable.
I made an example track using the new treadmark feature here. It's just "Daytona Disappointment" with an updated tileinfo so you'll need the 2013 SX objects. I have it running on elsinore.mxsimulator.com:19805 now.

Windows users: https://mxsimulator.com/snapshots/mx-2023-10-14-1660.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2023-10-14-1660

Updated 2023-10-23:
  • Fixed toggledecals.
  • Fixed upsampling to use bilinear filtering when treadmark color/norm/spec maps have mismatched sizes. Previously used point sampling
Windows users: https://mxsimulator.com/snapshots/mx-2023-10-23-1662.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2023-10-23-1662

Updated 2023-10-29:
  • Added "offset" parameter suggested by vmaki.
Windows users: https://mxsimulator.com/snapshots/mx-2023-10-29-1663.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2023-10-29-1663

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: 2023-10-14 snapshot

Posted: Sun Oct 15, 2023 1:28 am
by jlv
For the treadmarks, you basically just do this:

treadmark texture=@mytrack/mytreadmark.png size=8 aspect=0.25 spacing=6

"size" and "aspect" are the same as in the decals file. "spacing" tells it how many feet the decals should be separated by.

If you want to get a little fancier, you can add a different mark for when the wheel is slipping:

treadmark texture=@mytrack/myroostytreadmark.png size=8 aspect=0.25 spacing=6 slip_threshold=4.0
treadmark texture=@mytrack/mytreadmark.png size=8 aspect=0.25 spacing=6

"slip_threshold" tells it to only use the treadmark if the wheel is slipping by more than that many feet per second. It uses the first treadmark that matches so order is important.

Re: 2023-10-14 snapshot

Posted: Sun Oct 15, 2023 2:26 am
by Reed Borgfield
sick

Re: 2023-10-14 snapshot

Posted: Sun Oct 15, 2023 2:39 am
by Reed Borgfield
/toggledecals no longer works

Re: 2023-10-14 snapshot

Posted: Sun Oct 15, 2023 3:37 am
by Jakob Hubbard
Reed Borgfield wrote: Sun Oct 15, 2023 2:39 am /toggledecals no longer works
This broke with the 2-06-23 snapshot.

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 12:54 am
by jlv
Jakob Hubbard wrote: Sun Oct 15, 2023 3:37 am
Reed Borgfield wrote: Sun Oct 15, 2023 2:39 am /toggledecals no longer works
This broke with the 2-06-23 snapshot.
I knew I was forgetting something!

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 1:05 am
by Jakob Hubbard
jlv wrote: Mon Oct 16, 2023 12:54 am
Jakob Hubbard wrote: Sun Oct 15, 2023 3:37 am This broke with the 2-06-23 snapshot.
I knew I was forgetting something!
I could be wrong but I think it might've broke earlier when you introduced the new texture generation in the 11-03-2022 snapshot. All I know is that I use the 5-19-22 snapshot for building tracks for that /toggledecals feature. It also went straight over my head I've been doing it for so long now.

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 2:03 am
by Hayden_Scott
Whats next for ur timeline of updates and the timeframe? treadmarks are barking also

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 1:51 pm
by justinas6071
How to fix the ground?

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 1:52 pm
by justinas6071
justinas6071 wrote: Mon Oct 16, 2023 1:51 pm How to fix the ground?

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 2:04 pm
by justinas6071

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 3:10 pm
by Racers52
Excited to give this a go! :mrgreen:

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 3:20 pm
by AHeckman2
justinas6071 wrote: Mon Oct 16, 2023 2:04 pmImage
Actually had a similar thing happen to me, curious on if that’s a result of the new graphics settings?

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 5:16 pm
by ddmx
Great update! Did you consider making treadmarks a default feature, which could then be overridden if desired? It's a tease to only have it on post-snapshot tracks that choose to implement it.

Also, whatever you changed in this snapshot officially made the ghost in time trial completely disappear, so thanks for that too!

Re: 2023-10-14 snapshot

Posted: Mon Oct 16, 2023 5:52 pm
by ScrubDatMx
justinas6071 wrote: Mon Oct 16, 2023 1:51 pm How to fix the ground?
What I did is set the settings to high detail to figure out what setting needed to be changed. Then I found that the ground texture detail will need to be set to Low+Mid+High. This worked for me, may be different for you.