The International Simutrans Forum

Development => Bug Reports => Topic started by: Yona-TYT on February 21, 2022, 10:54:01 PM

Title: Graphic error at the edges of the world
Post by: Yona-TYT on February 21, 2022, 10:54:01 PM
The image says it all:
(https://raw.githubusercontent.com/Yona-TYT/imgs/main/err-map.png)
Title: Re: Graphic error at the edges of the world
Post by: prissi on February 22, 2022, 11:51:51 AM
Is this a reproducable savegame?
Title: Re: Graphic error at the edges of the world
Post by: Yona-TYT on February 22, 2022, 05:11:03 PM
Quote from: prissi on February 22, 2022, 11:51:51 AM
Is this a reproducable savegame?
Yes, at least on my pc.
Title: Re: Graphic error at the edges of the world
Post by: prissi on February 22, 2022, 10:53:18 PM
Could you upload it? I descrbe how to reproduce it. If you can reproduce, what is you default.svs. simuconf.tab?
Title: Re: Graphic error at the edges of the world
Post by: Yona-TYT on February 22, 2022, 11:08:12 PM
Quote from: prissi on February 22, 2022, 10:53:18 PM
Could you upload it? I descrbe how to reproduce it. If you can reproduce, what is you default.svs. simuconf.tab?
I'm not at home and I don't know when I'll be back (2 or 3 days).

If the conf are the default.
Title: Re: Graphic error at the edges of the world
Post by: Andarix on February 23, 2022, 12:36:58 AM
something similar occurs with draw_outside_tile = 0

(https://forum.simutrans.com/index.php?action=dlattach;topic=21449.0;attach=30208;image)
Title: Re: Graphic error at the edges of the world
Post by: Yona-TYT on February 23, 2022, 01:04:32 AM
I can say that I played around with the weather settings a bit.

for example: rough terrain to the maximum, lower the water level a little, lower that of the mountains as well.
Title: Re: Graphic error at the edges of the world
Post by: prissi on February 23, 2022, 01:04:56 AM
Ok, I suspected some simuconf.tab setting. Thanks, I will check this.
Title: Re: Graphic error at the edges of the world
Post by: Roboron on February 23, 2022, 03:20:54 PM
I can reproduce this loading the save. It looks like that classical bug of windows xp when moving windows around...
Title: Re: Graphic error at the edges of the world
Post by: prissi on February 24, 2022, 03:31:07 AM
Which save?
Title: Re: Graphic error at the edges of the world
Post by: Andarix on February 24, 2022, 06:38:41 AM
Quote from: prissi on February 24, 2022, 03:31:07 AM
Which save?

first post under image

load in r10454

(https://simutrans-germany.com/files/upload/simscr10.png)
Title: Re: Graphic error at the edges of the world
Post by: Yona-TYT on February 25, 2022, 09:51:14 PM

Using linux with ferdora and the version compiled from github.

So generate the map:(https://github.com/Yona-TYT/imgs/raw/main/test-map-err2.png)
Title: Re: Graphic error at the edges of the world
Post by: Yona-TYT on February 26, 2022, 12:57:04 AM
some buildings are also affected by this problem, will it be some error in the dependencies?.
(https://github.com/Yona-TYT/imgs/raw/main/Captura%20de%20pantalla%20de%202022-02-25%2020-53-41.png)
Title: Re: Graphic error at the edges of the world
Post by: prissi on February 26, 2022, 02:45:50 AM
This building is rather missing the needs_ground=1 setting in the pakset. Please report in the the pak192 thread.

EDIT:
On the drawing error. I could not reproduce it the r10512 nightly, even with draw_outside_tile=0 in windows with GDI or SDL2. Maybe this was a bug related to SDL and certain drivers and the new resizing code which does no longer enforce a width of 16.

Furthermore, all drawing releavant variables for non-netwrok games are in env_t not in settings. So this shoudl haveen with an y savegame.
Title: Re: Graphic error at the edges of the world
Post by: Yona-TYT on February 27, 2022, 04:01:18 PM
This may have to do with the pakset, as I've tried with pak.nippon and can't replicate the same behavior.