mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 21:07:06 +01:00
508f600b16
The terrain is made around the cursor from the first point of a track laid, in the background since the photo begins a scenery with no question: the first point clicked in an empty place had no ground under it, its height a guess (the flat ground, the ground nearby), and the points after it came on the terrain made meanwhile. The line was laid from the guessed height to the real one: a grade of thousands per mille at the second point, the track hidden in the ground there (the shots over Warszawa Zachodnia). - click_heights (editorClickHeights): where the height of each point came from, the ground, none yet, level with the point before, or a track's end; the points of none take the height of the ground once it's there under them, the level ones go along, the rest are kept. Enter waits while the terrain is on its way under such a point, 10 s at most. - The lay tool, in any shape: lay_bed tells where the height of the cursor came from, each point clicked keeps it. Every frame the points of a guessed height read the ground again (from above, as the cursor does: the terrain may lie far over the guess), the line shown and its checks follow them. A point laid isn't touched. - Enter, or a free end reached, with the terrain still coming under such a point (its chunk waiting, or not asked for yet within the download area): the panel says "Waiting for the terrain under the points...", the line is laid as it comes; Esc gives the wait up keeping the points, Enter again lays without waiting. Tests: U: the points re-read once the ground is there, the others kept, the level ones along, Enter's wait. E: tr_6_terrain_late (nmtsettings hold holds the terrain of the NMT back, the case makes the terrain itself: the wait, Esc, laid once the terrain came; a first point clicked before the terrain, no jump in the grade at the second); expect laywait, layguessed, laid steepest.