Commit Graph
191 Commits
Author SHA1 Message Date
Richard Zink 06e0410cb0 clouds: render clouds before front haze 2026-10-12 18:23:11 +02:00
Richard Zink de7850d6db clouds: raise cloud top to 20 km and disable terrain occlusion for test 2026-10-12 18:17:16 +02:00
Richard Zink 6802f83d1d clouds: use curved cloud layer and allow clouds over terrain 2026-10-12 18:13:54 +02:00
Richard Zink d9da8fdb47 clouds: render clouds after front haze for visibility test 2026-10-12 18:10:33 +02:00
Richard Zink 778c25859e clouds: fix cloud pass brace and make clouds denser 2026-10-12 18:04:02 +02:00
Richard Zink 52ececa917 clouds: add new spherical cloud pass using terrain distance occlusion 2026-10-12 17:50:42 +02:00
Richard Zink b9abacbdda atmosphere: make haze night-cycle aware 2026-10-12 17:37:35 +02:00
Richard Zink 7f733b8efe atmosphere: smooth front haze with 24-bit distance and dither 2026-10-12 17:33:31 +02:00
Richard Zink 8af10a4f4a atmosphere: stable front haze using terrain distance texture 2026-10-12 17:29:56 +02:00
Richard Zink a33e6ddcfc atmosphere: add stable air haze behind terrain 2026-10-12 17:20:52 +02:00
Richard Zink 989310ab3b atmosphere: replace flickering full-screen haze with stable terrain haze 2026-10-12 17:15:33 +02:00
Richard Zink 5146d17599 atmosphere: apply haze to terrain rays that hit elevated terrain 2026-10-12 17:09:04 +02:00
Richard Zink 97c78ceca3 atmosphere: disable haze for rays that do not hit the Earth sphere 2026-10-12 17:07:03 +02:00
Richard Zink 83bec11d61 atmosphere: keep Rayleigh sky behind terrain and make haze neutral 2026-10-12 16:50:07 +02:00
Richard Zink 98e69da3b2 atmosphere: cap haze alpha to avoid hard horizon cut 2026-10-12 16:35:57 +02:00
Richard Zink 69a00b479b atmosphere: add altitude-thinning distance haze 2026-10-12 16:24:11 +02:00
Richard Zink 7d75707e74 atmosphere: broaden bright sky band above horizon 2026-10-12 15:20:23 +02:00
Richard Zink e9b47c5857 atmosphere: raise sky horizon color band 2026-10-12 15:18:11 +02:00
Richard Zink a06f7038d8 atmosphere: make Rayleigh sky follow spherical Earth radius 2026-10-12 15:13:26 +02:00
Richard Zink 7329957658 atmosphere: add physical Rayleigh sky scattering 2026-10-12 15:08:59 +02:00
Richard Zink 629b1b6ab2 atmosphere: simulate Earth-Sun distance for solar irradiance 2026-10-12 15:06:13 +02:00
Richard Zink 06fb2f8d8f clouds: remove old cloud raymarch shader pass 2026-10-12 15:00:08 +02:00
Richard Zink 20b47f5460 clouds: clip only against curved horizon, not detailed terrain 2026-10-12 14:57:32 +02:00
Richard Zink cb847df3f5 clouds: intensify coverage, scale and detail 2026-10-12 14:55:32 +02:00
Richard Zink 8000c7be0e clouds: reduce raymarch jitter and high-frequency boiling 2026-10-12 14:53:57 +02:00
Richard Zink f25c7369cd clouds: remove terrain-height march breaks causing holes 2026-10-12 14:51:49 +02:00
Richard Zink 624c2c6311 clouds: repair curved deck entry and terrain occlusion 2026-10-12 14:45:31 +02:00
Richard Zink c546879b98 clouds: fix terrain clipping with curved occlusion 2026-10-12 14:36:29 +02:00
Richard Zink d59df7f4d1 clouds: follow spherical Earth curvature 2026-10-12 14:30:26 +02:00
Richard Zink c8fa1b3260 terrain: extend map with reduced-resolution outer height skirt 2026-10-12 14:16:06 +02:00
Richard Zink d173f926e4 atmosphere: remove volumetric fog pass 2026-10-12 14:06:38 +02:00
Richard Zink e78c6e86b6 curvature: bend terrain vertices to a spherical Earth 2026-10-12 14:04:29 +02:00
Richard Zink f2a3a2172d atmosphere: define EARTH_RADIUS_UNITS constant 2026-10-12 14:02:23 +02:00
Richard Zink 9a1efd5a59 atmosphere: define model uniform locations in init 2026-10-12 14:01:35 +02:00
Richard Zink e47a39fa46 atmosphere: declare uEarthRadius in sky shader 2026-10-12 14:00:50 +02:00
Richard Zink b9094ebd8b atmosphere: add initial volumetric atmosphere shell 2026-10-12 13:59:59 +02:00
Richard Zink ee56f2a1c8 moon: real lunar map (CC BY 4.0) with correct near-side geometry - the old normal sign lit the far side, so the disc came out black; stars are now occluded by the disc, sun and moon discs drawn at 12x physical without changing surface brightness; build.py inlines the map as a data URI 2026-10-11 22:46:35 +02:00
Richard Zink efd4db47cb geo: cell manifest geo/cells_v1 - cached road/place fast paths check one small record instead of reading every multi-megabyte raw cell 2026-10-11 21:34:52 +02:00
Richard Zink 6d21b37e8f 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 2026-10-11 18:42:48 +02:00
Richard Zink 113e4c522d airliner mesh is generated in-repo: tools/plane_gen.py writes vendor/plane3d.js (480 tris, CC0, same unit extent as the old Grab3D derivative); attribution updated 2026-10-11 18:42:48 +02:00
Richard Zink 499c00d8b1 standalone without our server: basemap and DEM load from the CORS-enabled upstreams, same-origin proxy only when a probe proves it exists; drop dead kumi.systems mirror 2026-10-11 16:02:10 +02:00
Richard Zink 4369afd3ef lighting: remove the palette terrain model - physics is the only lighting, themes tint it through THEMES[theme].lighting; debug panel shows the active palette and its tint/gain; credits no longer claim VIIRS 2026-10-11 15:39:42 +02:00
Richard Zink 6eb25bdd03 physical lighting, volumetric clouds, terrain shadows, pixel-art render scale
- atmosphere: physical terrain lighting (air mass, Rayleigh beam colour,
  skylight, moon, starlight floor), aerial perspective for terrain and
  cloud deck, configurable haze/albedo/ambient gains
- clouds: march the deck in height instead of ray distance, IGN dither
  (no per-frame flicker), per-step height jitter, 4-octave fbm renormalised,
  softer density threshold, distance softening as a procedural mip,
  grazing path clamp, cloud shadows on the ground (cloudShadowDensity/
  Floor/Ambient) and cloud haze factor
- terrain: self-shadows from the elevation field (penumbra + shadow floor),
  soft mosaic rim (edgeFadeTiles), east/west axis corrected (+X = west)
- lights: per-object twilight switching for cars, city dots and ground blocks
- flights: contrail width 620 m, fade to zero by contrailFadeKm, aircraft
  size decoupled from trail width, count halved
- render: CONFIG.renderScale with integer upscale + image-rendering: pixelated
- data: nginx overpass proxy + cache, per-mirror cooldown ladder, ring-based
  cell ordering (disc fills evenly), settlements fetched before roads,
  interim chain persistence, two worker lanes (car/city) with progress logs
- removed: NASA VIIRS night-lights layer (fetch, canvas, texture, uniforms)
2026-10-11 15:04:21 +02:00
Richard Zink cd460ec100 city lights: report buildMs in __cityDbg (measured: 17.5k places -> 46.7k points in 1.5ms) 2026-10-10 14:30:32 +02:00
Richard Zink 75dc5ed5b9 overpass: drop dead kumi.systems mirror (500 + no CORS) from endpoint ladder 2026-10-10 13:46:49 +02:00
Richard Zink 73d5c3f6a7 settlements: drop costly relation tier from place query (timed whole cells out), 3 mirror rounds with jitter, per-cell progress log; verified live: 1747 places -> 3855 lights 2026-10-10 13:37:35 +02:00
Richard Zink aebe311e32 cache derived geometry: merged road chains + settlement list persisted with cell fingerprints; two-tier best-first road stitching (raw-node headings, permissive interchange pass); fast path skips all raw parsing on unchanged data 2026-10-10 13:15:03 +02:00
Richard Zink 26bd5bbc59 contrails: keep visible at night as dimmed moonlit streaks (42% of night ramp); city debug counter + pending-terrain log 2026-10-10 11:50:07 +02:00
Richard Zink 1879a6912a contrails: distance-scaled ribbon width (sub-pixel fix), brighter head, far longer visible range 2026-10-10 11:12:38 +02:00
Richard Zink d0aa86ce9b flights: full CONFIG.flights parameterization (altitude, count, speed, holds, destination weights, contrail chance/alt/life/width) + curved random-destination routing 2026-10-10 11:02:58 +02:00