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:

Re: 2023-10-14 snapshot

Post by jlv »

yzmxer608 wrote: Tue Oct 24, 2023 5:41 am This does look great after seeing it on the Owens Valley track!

I had some flashbacks, somehow still had it bookmarked. Is this related to this old script? https://forum.mxsimulator.com/viewtopic ... 332#p73332
No. This needed a lot of reworking of the track texturing so it can efficiently handle the special case of new decals added on top of everything else. Also has the treadmark decals in an atlas so it can draw everything without switching textures. Would have been hopeless getting this running on older GPUs that didn't support framebuffer objects and shaders.

Funny seeing those old posts though! Worrying about those decals being too slow and now it's pretty fast with hundreds of thousands of treadmark decals on integrated graphics.
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.
vmaki
Posts: 196
Joined: Sat Jun 02, 2012 2:46 pm
Team: Privateer
Location: Suomi, Finland

Re: 2023-10-14 snapshot

Post by vmaki »

Great update!

Could there be an offset parameter for roost decals and is there a way to dedicate a decal only to the rear wheel? And could that offset and size be a function of slip_threshold? I'm picturing in my head how faster slip would generate a longer decal for the roost to land on.
jlv wrote: Sun Oct 15, 2023 1:28 am It uses the first treadmark that matches so order is important.
Could one line if matched drop two different decals? One beneath the wheel and one dynamic roost?

Below is just a red roost decal with empty space in front to move the visible part from under the wheel to behind the wheel. I guess the front wheel slipped enough on the lower line.

Image
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 »

vmaki wrote: Wed Oct 25, 2023 6:07 pm Could there be an offset parameter for roost decals and is there a way to dedicate a decal only to the rear wheel? And could that offset and size be a function of slip_threshold? I'm picturing in my head how faster slip would generate a longer decal for the roost to land on.
Good point on the offset parameter. I think I'll add that. I don't think scaling by the slip speed would be a good idea though. Better to just use different decals and select which to use via slip_threshold.
vmaki wrote: Wed Oct 25, 2023 6:07 pm Could one line if matched drop two different decals? One beneath the wheel and one dynamic roost?

Below is just a red roost decal with empty space in front to move the visible part from under the wheel to behind the wheel. I guess the front wheel slipped enough on the lower line.

Image
It's somewhat important to keep the decal count down. Dropping 2 in the same spot would be a waste when you can just combine them beforehand into the roost decal.
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.
RykerGaming
Posts: 73
Joined: Sun Dec 04, 2016 9:13 pm

Re: 2023-10-14 snapshot

Post by RykerGaming »

jlv wrote: Fri Oct 20, 2023 1:20 am
Hayden_Scott wrote: Thu Oct 19, 2023 11:44 pm thats what im saying i dont think it would be toooooo hard to do. But i am not a game developer so idk
It wouldn't be too hard to do but things like that turn into death by a thousand cuts. I want to focus on bigger things. The next big update will be the culmination of the terrain rendering optimizations. After that I'm not sure but probably shading via HDR environment maps.
The shading would be amazing. The tread marks help the game so much already environmentally and shadows would be a cherry on top. Thank you jlv!
Image
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

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

Post by jlv »

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
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 »

vmaki wrote: Wed Oct 25, 2023 6:07 pm is there a way to dedicate a decal only to the rear wheel?
Missed this the first time I read your post. Yes, there is.

front=-1
This lets you make the treadmark specific to either the front or rear wheel. 0 is rear, 1 is front, -1 is either.

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

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

Post by vmaki »

jlv wrote: Mon Oct 30, 2023 12:28 am 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
Ha I'll hang this one on the wall!
jlv wrote: Mon Oct 30, 2023 12:47 am
vmaki wrote: Wed Oct 25, 2023 6:07 pm is there a way to dedicate a decal only to the rear wheel?
Missed this the first time I read your post. Yes, there is.

front=-1
This lets you make the treadmark specific to either the front or rear wheel. 0 is rear, 1 is front, -1 is either.

The documentation is here.
Thanks!

Does the time trial ghost keep dropping decals after its first lap? I think that its line is more dark than just from one lap after a while.
Image
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

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

Post by jlv »

vmaki wrote: Mon Oct 30, 2023 6:50 pm Does the time trial ghost keep dropping decals after its first lap? I think that its line is more dark than just from one lap after a while.
Yeah. It'd be fairly difficult to avoid it.
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.
Jacob Lindquist994
Posts: 6
Joined: Mon Aug 28, 2023 3:19 am
Team: Privateer

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

Post by Jacob Lindquist994 »

When I download the snapshot it says the file was blocked because it can harm the device is there any way to fix that.
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

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

Post by jlv »

Jacob Lindquist994 wrote: Mon Nov 06, 2023 2:42 am When I download the snapshot it says the file was blocked because it can harm the device is there any way to fix that.
Might help to disable the antivirus software that's blocking it while you install.
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.
737Ben
Posts: 39
Joined: Sat Nov 06, 2021 12:34 am
Team: DJ Motosports
Location: Australia

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

Post by 737Ben »

After I installed the latest snapshot, I can't join multi player servers from the server index. I can only join servers that I've recently joined from inside the game.
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

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

Post by jlv »

737Ben wrote: Wed Nov 08, 2023 6:48 am After I installed the latest snapshot, I can't join multi player servers from the server index. I can only join servers that I've recently joined from inside the game.
When you launch the game from a link on the server page it tries to run "C:\Program Files (x86)\MX Simulator\mx.exe" by default. So make sure that file is there. Be aware that the ".exe" extension is hidden in File Explorer so it'll just be an application named "mx".
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.
justinas6071
Posts: 13
Joined: Tue Apr 17, 2012 2:09 pm
Team: Privateer

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

Post by justinas6071 »

I am switching back to 2022-05-19 snapshot. It works the best for me, no issues with graphics or lag
jaron15_racing
Posts: 22
Joined: Sun Oct 31, 2021 4:11 am
Team: Factory goons

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

Post by jaron15_racing »

When I go into spy mode tiles turn solid black wherever I take the camera to. Is there any fixes because I was wanting to get some sick SS with these tread marks?
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

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

Post by jlv »

jaron15_racing wrote: Sun Nov 12, 2023 3:45 pm When I go into spy mode tiles turn solid black wherever I take the camera to. Is there any fixes because I was wanting to get some sick SS with these tread marks?
I think this is an Nvidia bug. I haven't managed to replicate yet so I don't have a workaround. Been meaning to take another shot at it. Apparently it only happens if you have your settings turned up in Nvidia control panel. More info in this topic.
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.
Post Reply