Page 4 of 6

Re: 2023-10-14 snapshot

Posted: Wed Oct 25, 2023 1:00 am
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.

Re: 2023-10-14 snapshot

Posted: Wed Oct 25, 2023 6:07 pm
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

Re: 2023-10-14 snapshot

Posted: Thu Oct 26, 2023 1:37 am
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.

Re: 2023-10-14 snapshot

Posted: Fri Oct 27, 2023 6:31 am
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!

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

Posted: Mon Oct 30, 2023 12:28 am
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

Re: 2023-10-14 snapshot

Posted: Mon Oct 30, 2023 12:47 am
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.

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

Posted: Mon Oct 30, 2023 6:50 pm
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.

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

Posted: Tue Oct 31, 2023 12:01 am
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.

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

Posted: Mon Nov 06, 2023 2:42 am
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.

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

Posted: Tue Nov 07, 2023 12:47 am
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.

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

Posted: Wed Nov 08, 2023 6:48 am
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.

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

Posted: Thu Nov 09, 2023 12:45 am
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".

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

Posted: Thu Nov 09, 2023 10:31 am
by justinas6071
I am switching back to 2022-05-19 snapshot. It works the best for me, no issues with graphics or lag

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

Posted: Sun Nov 12, 2023 3:45 pm
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?

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

Posted: Mon Nov 13, 2023 2:01 am
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.