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

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

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

Post 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.
Last edited by jlv on Mon Oct 30, 2023 12:28 am, edited 2 times in total.
Reason: Updated 2023-10-29
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: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2023-10-14 snapshot

Post 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.
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.
Reed Borgfield
Posts: 12
Joined: Tue Mar 24, 2020 7:32 am
Team: Privateer

Re: 2023-10-14 snapshot

Post by Reed Borgfield »

sick
Reed Borgfield
Posts: 12
Joined: Tue Mar 24, 2020 7:32 am
Team: Privateer

Re: 2023-10-14 snapshot

Post by Reed Borgfield »

/toggledecals no longer works
Jakob Hubbard
Posts: 1152
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

Re: 2023-10-14 snapshot

Post 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.
Image
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2023-10-14 snapshot

Post 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!
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.
Jakob Hubbard
Posts: 1152
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

Re: 2023-10-14 snapshot

Post 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.
Image
Hayden_Scott
Posts: 142
Joined: Mon Oct 21, 2019 9:06 am
Team: District D|Brainsick
Location: Western Australia

Re: 2023-10-14 snapshot

Post by Hayden_Scott »

Whats next for ur timeline of updates and the timeframe? treadmarks are barking also
justinas6071
Posts: 13
Joined: Tue Apr 17, 2012 2:09 pm
Team: Privateer

Re: 2023-10-14 snapshot

Post by justinas6071 »

How to fix the ground?
justinas6071
Posts: 13
Joined: Tue Apr 17, 2012 2:09 pm
Team: Privateer

Re: 2023-10-14 snapshot

Post by justinas6071 »

justinas6071 wrote: Mon Oct 16, 2023 1:51 pm How to fix the ground?
justinas6071
Posts: 13
Joined: Tue Apr 17, 2012 2:09 pm
Team: Privateer

Re: 2023-10-14 snapshot

Post by justinas6071 »

Racers52
Posts: 3217
Joined: Sun Feb 03, 2013 8:10 pm
Location: Texas
Contact:

Re: 2023-10-14 snapshot

Post by Racers52 »

Excited to give this a go! :mrgreen:
AHeckman2
Posts: 2920
Joined: Thu Aug 06, 2015 12:11 am
Team: Heckman Productions
Location: Michigan, USA
Contact:

Re: 2023-10-14 snapshot

Post 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?
Image
ddmx
Posts: 5374
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: 2023-10-14 snapshot

Post 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!
ScrubDatMx
Posts: 305
Joined: Wed Oct 08, 2014 1:25 am
Team: Late Night Crew
Location: San Diego, California

Re: 2023-10-14 snapshot

Post 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.
Image
Post Reply