flights: draw two narrow engine contrails and raise beacon

This commit is contained in:
Richard Zink committed 2026-10-13 08:42:37 +02:00
1 parent 6b375ea983
commit 6f19b34900
2 files changed
+75 -32

No files matched your search

+6 -1
View File
@@ -397,9 +397,14 @@ window.CONFIG = {
contrailChance: 1.00, // 0 = no contrails, 1 = every eligible jet
contrailStartKm: 4, // start after this distance from the airport
contrailLifeS: 300, // seconds before a trail disappears
contrailWidthM: 1400, // full trail width
contrailWidthM: 1400, // aircraft/trail scale width
contrailEngineWidthM: 700, // width of each engine contrail
contrailEngineOffset: { x: 0.36, y: -0.055, z: -0.14 }, // engine exhaust in model units
markingLightOffset: { x: 0.0, y: 0.235, z: 0.0 }, // top-centre fuselage beacon
contrailFadeKm: 300, // fully faded at this distance (ramp starts at 35 %)
// contrailChance: 0.35, contrailLifeS: 120 // short sparse trails
// contrailEngineWidthM: 520, contrailEngineOffset: { x: 0.36, y: -0.055, z: -0.18 }
// markingLightOffset: { x: 0.0, y: 0.26, z: 0.05 }
// Night contrast: a physically scaled contrail is a faint grey thread
// that disappears at 4x pixel scale, so this is the night share of its
// opacity (0.34 was the old value) and it also drives the gain on the