|
||||||||||||||
|
||||||||||||||
Composition of a vehicle from phase pictures\To depict the moving parts of a vehicle (spoked wheels, valve gear motion, drive rods, etc.) multiple pictures are required, each of which shows a piece or "phase" of the entire motion. These individual pictures are then combined and shown in rapid sequence so that when the vehicle appears on the screen, the moving parts appear to move realistically relative to the vehicle's progress down the track. A mathematical formula determines the timing by which the phase pictures are changed so that the changes occur at the appropriate times in keeping with the vehicle's speed on the screen.\ \ The Syntax is:\
The first picture
Phase pictures appear aligned to the bottom of the Pictures in a TVL picture library can be difference mode pictures - it means, there are two different kind of transparent pixels in such a picture. A pixel can be "No change" - than using it as a phase picture the value of the base picture's pixel remains unchanged - or a pixel can be "Transparent" - the resulting phase picture will be transparent on that place, the background will be visible through the picture. To make the succession of phase pictures realistic, the phase pictures are changed based on the distance the vehicle has travelled along the right of way. The distance that the vehicle travels before the picture is changed is referred to as a "step." One can specify the step distance in pixel like so:
There is yet another way to input a
where the number is the diameter of the wheel. The default for all vehicles is the geometrically correct value, but one can alter this default by use of the
If the
If the phase pictures do not depict a full rotation of the wheels (such as in bogies, where the majority of the motion is hidden behind the sideframes,) the use of The base picture, each phase pictures and the whole animated picture can have modifiers. A modifier belonging to the base picture will be obeyed immediately after loading the base picture, and these, eventually modified base picture will be used as the base for the phases. The modifiers belonging to the phase pictures act only on that phase picture they follow. Traffic copies the base picture (eventually already modified by the base picture's modifiers) to the phase picture's area, overlays it with the given phase picture, and obeys the modifiers belonging to this phase picture.
At the end, after the Animating the pantographs: the constructs
creates a pantograph animation ( see the description of the The SAR image ( the name comes from the MM&MM screensaver, it is a german abbreviation StromAbnehmer Rechts meaning that the right pantograph is in the upper, and the left pantograph is in the lower position ) shows usually the whole upper part of the vehicle - a roof segment and both pantographs in different position as the base picture. Traffic creates two pantograph animations from the SAR picture and the base picture: for both the left and right pantograph Traffic creates different animations. As Traffic does not have further information about the pantograph sizes, the animations will be created for the half of the size of the SAR image: the left part for the left pantograph, and the right part for the right pantograph. The resulting effects will be correct only, if the base picture and the SAR image contained a fully identical picture of the vehicle roof, with the only difference of the pantograph states.
Remember: the MM&MM screensaver replaces the whole upper part of the base picture with the
Overview
The Configuration Window
Configuration Window Menu Bar
Program Window
Stock List
Stock List Menu Bar
Shortcut Keys
Author's database
Description Editor
Graphic Testpad
Graphic Testpad Menu Bar
Timetable Editor
Timetable Syntax and Semanics
The timetable header
Sections, Groups, Lines, Scenes
Actions
Stock List File
Stok List File Keywords
|
||||||||||||||