The International Simutrans Forum

 

Author Topic: zooming out shows river artefacts  (Read 1658 times)

0 Members and 1 Guest are viewing this topic.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
zooming out shows river artefacts
« on: February 15, 2018, 08:05:12 PM »
When zooming out a map in pak128 or pak128Britain the following artefacts appear along the rivers. Sometimes you need to hit rotate map button in order to produce the bug. It appears only in these 2 packs (128, half heights). Could be pack specific?




Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1069
    • Simutrans-BLOG
  • Languages: ES
Re: zooming out shows river artefacts
« Reply #1 on: February 16, 2018, 02:51:07 AM »
It seems an error in the pakset in my humble opinion. ;)

Offline Leartin

  • Devotee
  • *
  • Posts: 997
  • PAK-DEV P192C
  • Languages: DE, EN
Re: zooming out shows river artefacts
« Reply #2 on: February 16, 2018, 05:11:14 AM »
They are probably set as objects with the "draw_as_ding"-flag. On zoom, no matter whether its in or out, each tile behaves on it's own, so disconnection can happen. Same applies to ways without the "draw-as-ding" flag buildt on artificial slopes.

Pak designers can somewhat circumvent this by making each tile of their way a bit larger than the tile, so they would overlap slightly.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4423
  • Languages: EN, DE, AT
Re: zooming out shows river artefacts
« Reply #3 on: February 16, 2018, 10:43:36 AM »
This is related to how simutrans zooms sprites. After zooming, the tile borders of tile and way images might not match.
Parsley, sage, rosemary, and maggikraut.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
Re: zooming out shows river artefacts
« Reply #4 on: February 16, 2018, 11:26:18 AM »
Strange, but the bug does not appear on a fresh created map (as long as you don't rotate it). However, the bug appears on maps loaded from disk.

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2280
  • Languages: EN
Re: zooming out shows river artefacts
« Reply #5 on: February 17, 2018, 01:17:14 AM »
Seen it effecting more than just rivers, such as freshly constructed rails and roads. Almost like an off by one error.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
Re: zooming out shows river artefacts
« Reply #6 on: February 17, 2018, 08:06:45 AM »
Indeed it affects ways, but only some of them (pak128).

« Last Edit: February 17, 2018, 12:44:36 PM by uci »