The International Simutrans Forum

 

Author Topic: Traffic light graphics  (Read 1337 times)

0 Members and 1 Guest are viewing this topic.

Offline Sarlock

  • Devotee
  • *
  • Posts: 1340
  • Languages: EN
Traffic light graphics
« on: February 16, 2013, 05:58:47 AM »
Bug or "feature"?

A vehicle's graphics are drawn in front of the traffic signal on the south-west corner.  I tested both pak64 and pak128 and they both do the same thing.

(working on upload bug to my FTP, fixed shortly) [added as attachment, my FTP isn't working for some reason]

Not sure if this is a fixable graphical issue or if it has to be this way because of a larger, more complex issue.
« Last Edit: February 16, 2013, 06:38:34 AM by Sarlock »

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Traffic light graphics
« Reply #1 on: February 16, 2013, 08:04:34 AM »
Hello Sarlock
That it a bug in the dat.
I will look whether in can quick fix can.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4607
  • Languages: EN, DE, AT
Re: Traffic light graphics
« Reply #2 on: February 16, 2013, 08:50:37 AM »
This is a limitation of the graphics engine. Similar problems arise with crossing and overhead wires graphics.

In order to prevent this error, the traffic light has to be drawn after the vehicle (graphics in front image). Then however the traffic light graphics is drawn on top of vehicles driving on the tile below.... This cannot be solved easily.

Offline Sarlock

  • Devotee
  • *
  • Posts: 1340
  • Languages: EN
Re: Traffic light graphics
« Reply #3 on: February 16, 2013, 09:20:24 AM »
Thanks for the info, I suspected it was something like that.

It's not that important (I honestly never even noticed until I was looking closely today), was just curious if it was a fixable issue with the DAT arrangement or an engine limitation.  Now I know :)