I've uploaded a demo for those interested, and feedback will be appreciated.
http://www.trainsimfiles.com/products/t ... r_demo.zip
There's no installation for the demo, but you must have the Microsoft .NET framework for it to run (available from
http://www.microsoft.com/downloads/deta ... laylang=en ).
It doesn't really need instructions, but here's the basics:
Holding down the right mouse key and dragging will pan (note: it deliberately reduces the quality when dragging to make it faster)
The mouse scrollwheel zooms in/out.
Colour-coded track colours are as follows:
Black - straights
Green - curves
Red - turnouts
Orange - crossings (any shape with crossing point(s))
Dark Blue - dynamic track (straight)
Mid green - dynamic track (curved)
cyan - skew straights (though not actually tested)
These are automatically detected from the installed tsection.dat, so apply to any track system.
Tunnel shapes are represented by dashed lines, naturally, which is in addition to colour coding - eg. tunnelled curves are dashed green.
Gradients are taken into account, but currently not banking - though thats probably rare for most routes.
The Segmented Paths option shows how the paths are made of track sections, though not by track shape (which I later hope to add).
Notes:
For some reason the dynamic track curves don't appear correctly. Also, error handling is limited.
You may also find some curves look distorted, which is probably because I need to add extra coordinate points so the curve path can be properly drawn - or use a bezier function instead.