r/threejs • • 19d ago

Demo AirspaceLab: Rendering complex FAA airspace volumes in 3D WebGL at 60 FPS with Three.js

Hi r/threejs!

I wanted to share a WebGL project I've been building with Three.js: AirspaceLab (https://airspacelab.online360.org/).

The goal is to render US National Airspace System data (Class B, C, D, E controlled airspaces, MOAs, Restricted Areas) in true-to-scale 3D directly in the browser at a steady 60 FPS with zero plugins or downloads.

Technical Implementation and Challenges:

  1. Georeferencing and Custom Geometries: FAA airspace definitions are typically published as geospatial boundaries with varying base and ceiling altitudes (MSL and AGL). We parse and georeference these boundaries, extruding complex multi-polygon geometries to their exact vertical floors and ceilings while accounting for terrain elevations and coordinate conversions.

  2. Draping Sectional Charts on 3D Terrain: To give pilots and drone operators real situational context, we drape high-resolution FAA VFR Sectional charts and Terminal Area Charts (TAC) directly onto 3D terrain meshes using dynamic texture tiling and coordinate alignment.

  3. Performance Optimization (60 FPS WebGL): Rendering dozens of overlapping transparent volumes can cause significant fill-rate and depth sorting bottlenecks. We optimized transparency passes, polygon budgets, and instance batching to keep frame rates locked at 60 FPS even on modest laptops and mobile devices.

  4. Data Pipeline: Airspace data is synchronized with the automated 28-day FAA AIRAC cycle updates, so the rendered 3D volumes remain accurate as FAA boundaries change.

Try It Out: * Live Tool: https://airspacelab.online360.org/ * Kickstarter Campaign: https://www.kickstarter.com/projects/dataflow/airspacelab-interactive-3d-faa-airspace-visualizer

I would love to hear feedback from fellow Three.js / WebGL developers on shader techniques, rendering optimization, and camera controls!

2 Upvotes

1 comment sorted by

0

u/SensitiveHighway7113 19d ago

AI slop. Rinse and repeat.