CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
577 stars 85 forks source link

Conflict point visualisation #4

Open originalfoo opened 5 years ago

originalfoo commented 5 years ago

This is a redux of https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/210

Note: Would require implementation of #3

Would it be possible to depict conflict points within junctions?

In other words where a lane connector crosses another lane connector, that would be considered a conflict point.

Real-life road design involves this sort of stuff too:

fig075

In order of importance:

  1. Crossing
  2. Merging
  3. Diverging

This would help a lot at complex junctions. I assume there are vector collision functions available that could be used to determine the various conflict points?

However, it would require that all lane connectors be displayed, even on un-customised junctions. Maybe as thin grey or white lines to depict 'default connections' (where applicable, ie. for lanes not yet customised)?

It could be implemented so that the default lines (where applicable) and conflict markers would only appear when zoomed in and would auto-hide when zoomed further out?

originalfoo commented 5 years ago

As per issue from original TMPE repo, it would be super-cool if a 'conflict score' could be displayed for a junction (or even multiple junctions if there was some way to select more than one at same time).

43047250-50cee214-8dcc-11e8-9ceb-2cefebae1127

krzychu124 commented 5 years ago

I love this idea. How would that diagram look if we add more lanes to it, say that every road segment has 6 lanes. Wouldn't be too complicated to read that?

originalfoo commented 5 years ago

Yes, even with just a two lanes it can be hectic, for example:

43047249-50b6aaf0-8dcc-11e8-92e8-faf51c5828d1

So it would probably require some sort of 'display on mouse hover' feature. So if I hover over a lane on a road at a junction, the collision points relating to that lane are shown but others not?

originalfoo commented 5 years ago

Useful link copied over from https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/5#issuecomment-476008283:

https://ops.fhwa.dot.gov/publications/fhwahop08024/chapter4.htm#4.2

originalfoo commented 5 years ago

Just spotted this mod over at Transport Fever: https://steamcommunity.com/sharedfiles/filedetails/?id=1677155073

Normal intersection:

connect

Roundabout intersection:

steamuserimages-a akamaihd