✔️ FIXED BUG: Crater Artifacts

Eggheads talking about bytes and stuff.
Post Reply
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

✔️ FIXED BUG: Crater Artifacts

Post by Krishty »

Craters are sometimes rendered incorrectly.

image.png
image.png (46.27 KiB) Viewed 1738 times

It seems to be happening more often with debris or airplanes underway, and it can be “fixed” by the viewer moving to a different terrain tile.

I suspect that a rendering state is not correctly reset somewhere in the renderer.
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: 🔴 OPEN BUG: Crater Artifacts

Post by Krishty »

This has become really annoying now that we have lots of craters.
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: 🔴 OPEN BUG: Crater Artifacts

Post by Krishty »

Yes, it’s unbearable. I tried to ignore it for the next release, but this needs fixing …

image.png
image.png (703.77 KiB) Viewed 1648 times
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: 🔴 OPEN BUG: Crater Artifacts

Post by Krishty »

Fix underway.

The problem was the craters being rendered per-tile, interfering with the contrails. Rendering craters of all tiles in one pass and contrails in another fixes that.

This is excellent because that was the last major bug that blocked a release.
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: ✔️ FIXED BUG: Crater Artifacts

Post by Krishty »

Fix has landed.
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: ✔️ FIXED BUG: Crater Artifacts

Post by Krishty »

Seems like this exact issue is back.

The only change that comes to mind is: dynamic and static trails were rendered separately until a few weeks ago. When I fixed the contrail memory corruptions that rendered traffic unusable, I combined the rendering of both into one loop.
Post Reply