progress logs behind CONFIG.debug, CONFIG.antialias + high-performance context, cheaper cloud sampling (skip far detail octave and redundant self-shading probe), brighter night contrails via CONFIG.flights.contrailNight, window.__flightDbg counters, real sun/moon by default
This commit is contained in:
1 parent
113e4c522d
commit
6d21b37e8f
2 files changed
+98
-37
No files matched your search
@@ -17,6 +17,7 @@
|
||||
* tile/DEM/Overpass origin, figure-eight centre
|
||||
* renderScale internal 3D resolution (0.2..1) with blocky upscale
|
||||
* maxFps scene frame cap (0 = free running)
|
||||
* antialias MSAA on the WebGL framebuffer (true/false)
|
||||
* weatherSim ignore Open-Meteo and cycle the weather themes
|
||||
* tiles basemap/elevation cache behaviour + debug overlays
|
||||
* ground basemap style
|
||||
@@ -51,7 +52,7 @@ window.CONFIG = {
|
||||
theme: 'ash', // 'ash' | 'nord' | 'gruvbox' (see window.THEMES)
|
||||
language: 'en', // 'en', 'de' - keys of the i18n.js dictionaries
|
||||
timeFormat: 'DD. MMMM, YYYY ‒ HH:mm:SS',
|
||||
debug: 0, // 1 = debug panel with the theme palette
|
||||
debug: 0, // 1 = debug panel + progress logs in the console
|
||||
credits: true, // false = hide the attribution line
|
||||
units: { temperature: 'C' }, // 'F' for Fahrenheit
|
||||
|
||||
@@ -67,6 +68,10 @@ window.CONFIG = {
|
||||
// Scene frame cap. All motion is time-based, so this only changes
|
||||
// smoothness, never speed. 0 = free running (vsync).
|
||||
maxFps: 30,
|
||||
// MSAA on the WebGL framebuffer. Costs fill rate, and with renderScale
|
||||
// below 1 the pixel blocks dominate anyway - set false if the scene is
|
||||
// GPU bound. Read once at context creation, so a reload is needed.
|
||||
antialias: true,
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Location
|
||||
@@ -169,11 +174,16 @@ window.CONFIG = {
|
||||
wStrip: 1,
|
||||
// Contrails: contrailChance of the aircraft leaves a trail once
|
||||
// above contrailStartKm, visible for contrailLifeS seconds.
|
||||
contrailChance: 0.85,
|
||||
contrailChance: 1.00,
|
||||
contrailStartKm: 6,
|
||||
contrailLifeS: 300,
|
||||
contrailWidthM: 620, // full trail width
|
||||
contrailFadeKm: 100, // fully faded at this distance (ramp starts at 35 %)
|
||||
// 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
|
||||
// moon/star light. 0 = night contrails off, 1 = strongest.
|
||||
contrailNight: 0.85,
|
||||
// Night strobes. Point size shrinks with distance but never below
|
||||
// lightPx and never above lightMaxPx for a jet directly overhead.
|
||||
// The white strobe is a double flash: two flashes blinkFlashS long,
|
||||
@@ -301,11 +311,12 @@ window.CONFIG = {
|
||||
// east, culminates south, sets west) and the clock plus the sun/moon
|
||||
// tables follow the simulated date. false uses the real SunCalc positions.
|
||||
day: {
|
||||
simulation: true,
|
||||
cycleSeconds: 60, // 60 s = one simulated day per minute
|
||||
simulation: false, // false = the real sun and moon (default)
|
||||
cycleSeconds: 60, // only used when simulation is true:
|
||||
// 60 s = one simulated day per minute
|
||||
fixedTime: null // 'HH:MM' or 0-24 freezes the sim clock
|
||||
// (clouds, traffic and flights keep moving)
|
||||
// day: { simulation: false } // real sun and moon
|
||||
// day: { simulation: true, cycleSeconds: 60 } // accelerated day
|
||||
},
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user