Ross Wilson
Ross Wilson

Reputation: 129

Railway Simulation Graphics Engine

I'm currently looking for a suitable graphics engine and suggestions on how to implement a railway simulation GUI. This is for a central railway network control system.

I intend to generate a display similar to the following:

A railway section network diagram commonly found at signal boxes

My problem comes with showing the real time position of trains using the network:

What would be the best way of representing trains on a diagram similar to the one above? I'm currently thinking of having numbered and color coded rectangles overlayed on the track.

Have you any suggestions or recommendations for a suitable 2D graphics engine for the .net framework?

Ross

Upvotes: 2

Views: 359

Answers (1)

Twelve47
Twelve47

Reputation: 3982

If you fancy rolling your own rather than using a 3rd party graphics engine, you could easily use the WPF Canvas, and some other controls like Rectangle and TextBlock.

It should be relatively simple to build something like the image you linked to in WPF.

Upvotes: 1

Related Questions