The International Simutrans Forum

 

Author Topic: [r7122] Some graphical glitches  (Read 3374 times)

0 Members and 1 Guest are viewing this topic.

Offline eipi

  • *
  • Posts: 67
  • Languages: DE EN FR ES C++ LaTeX
[r7122] Some graphical glitches
« on: March 30, 2014, 08:10:30 PM »
Hi,

I've found some graphical glitches in r7122:

1. If a bus stops at a halt or at an intersection, and the bus continues into another direction, there are traces of the bus left at the old position.

2. If a steam locomotive stops at a stop, the white smoke does not vanish after the train has stopped.

3. When resizing a window using the minimize size button, the window leaves traces if it is beyond the edge of the map.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9557
  • Languages: De,EN,JP
Re: [r7122] Some graphical glitches
« Reply #1 on: March 30, 2014, 08:55:10 PM »
THe bus I did not found, but it may depend on graphic size. THe smoke is known.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5542
  • Languages: EN, NO
Re: [r7122] Some graphical glitches
« Reply #2 on: March 31, 2014, 05:28:15 AM »
I thought 1 and 2 was fixed weeks ago. Have they crept back in? I can't say I've experienced any of the three with 7112.

Offline eipi

  • *
  • Posts: 67
  • Languages: DE EN FR ES C++ LaTeX
Re: [r7122] Some graphical glitches
« Reply #3 on: March 31, 2014, 02:47:54 PM »
Hmm... For reference, I use pak128 r1391 with MULTI_THREAD enabled.
The bus glitch also appears in pak64 for me, so this is not likely to be a pakset issue.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5542
  • Languages: EN, NO
Re: [r7122] Some graphical glitches
« Reply #4 on: March 31, 2014, 03:48:18 PM »
Maybe it only affects the multithreaded renderer. My Simutrans is more glitch free than it's been for years. Even vehicles slightly longer than a tile turn around without leaving any part behind. Or maybe you have some files that are stuck at an older revision? You seem to compile your own executables since you mention that MULTI_THREAD is enabled. Do the nightlies give you the same problem?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9557
  • Languages: De,EN,JP
Re: [r7122] Some graphical glitches
« Reply #5 on: March 31, 2014, 04:12:30 PM »
No, certain changes (and deletion of smoke ) leave a lot of artefacts. It depends on the position of the windows and how far these are already in the neighbouring tile.

EDIT: try r7126 (may still fail with the zeppelin for instance)
« Last Edit: March 31, 2014, 07:23:27 PM by prissi »

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4601
  • Languages: EN, DE, AT
Re: [r7122] Some graphical glitches
« Reply #6 on: March 31, 2014, 07:50:48 PM »
There was still a bug with scaling offsets. The bug occurs when zoomed in. Please try r7127 :)

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5542
  • Languages: EN, NO
Re: [r7122] Some graphical glitches
« Reply #7 on: April 01, 2014, 05:40:58 AM »
There was still a bug with scaling offsets. The bug occurs when zoomed in. Please try r7127 :)

That explains why I haven't seen anything. I never zoom.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1227
    • Simutrans-BLOG
  • Languages: ES
Re: [r7122] Some graphical glitches
« Reply #8 on: April 01, 2014, 10:26:14 AM »
The canal is shown by segments... but with the fast forward  "segmentation disappears"

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2908
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [r7122] Some graphical glitches
« Reply #9 on: April 03, 2014, 05:00:58 PM »
This is intended, the rendering is reduced to save resources for the simulation and don't freeze the game.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5542
  • Languages: EN, NO
Re: [r7122] Some graphical glitches
« Reply #10 on: April 03, 2014, 06:20:02 PM »
This is intended, the rendering is reduced to save resources for the simulation and don't freeze the game.

That alone would make sense if the problem was the other way around. As far as I know the real reason is that avoiding this graphical glitch would cause even worse glitches. With fast forwarding, the algorithm with worse glitches is used, since it's faster.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4601
  • Languages: EN, DE, AT
Re: [r7122] Some graphical glitches
« Reply #11 on: April 03, 2014, 06:26:05 PM »
It only happens when zooming in or out. The zoomed river graphics does not met the expectations of the graphics engine, hence glitches.