News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[minor] Schedule overlay on map looks weird on slopes and bridge heads

Started by Nazalassa, Yesterday at 02:17:24 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Nazalassa

Minor aesthetic issue: the overlay does not remain on the tracks on slopes and bridge heads.


Making paks since October 2023  |  pak48.bitlit | pak32.box | MLM for pak64 | Empire F7 cars | Pneumatic tubes | More pak64 vehicles and industries

Life is like a multi-tasking OS: you know you'll eventually get back to everything, but you don't know when.

prissi

grund_t::get_weg_yoff() can give the right extra offset, but one has to look up the ground first ...

victor_18993

Fixed in r12213.

The schedule route overlay was using the ground base projection and therefore did not follow the actual way surface correctly through slopes and bridge heads.

The fix now uses the existing way-height information and adds the required breakpoint at slope transitions. Flat ground, slopes, bridge heads and all four rotations are covered by regression tests.

Thanks for reporting it.
En la vida todo son vivencias y cada una de ellas nos hace mas grandes,¿Como de grande eres tu? :)