Hi everyone, I wanted to showcase my ongoing project and ask the community for some guidance regarding Virtual Reality (VR) support in CesiumJS. I’m currently developing a web-based, mobile/tablet-optimized flight management and airline tycoon game called **Rondine Aviation**. The core concept allows players to manage commercial flights in real-time, operating the aircraft entirely through an autopilot instrument panel (HDG, ALT, SPD, APPR) and a tactical map. To give players an immersive experience during approach and touchdown, I integrated **CesiumJS** to render the 3D terrain in real-time (featuring “Pilot View” and “Window Seat” cameras). It works beautifully and runs incredibly smooth even on mobile browsers and iPads! You can check out a quick 1-minute clip of a Cathay Pacific Boeing 777-300ER automated landing at Lisbon Airport (LPPT) using CesiumJS here:
YouTube Link: https://m.youtube.com/watch?v=0nnhIIvcd1Q&pp=0gcJCSsMAYcqIYzv My Question regarding VR: Since the 3D rendering looks amazing, I am highly considering adding WebXR / Virtual Reality support. The goal is to allow players to wear a VR headset (like a Meta Quest) and look out of the cockpit or the passenger window seat in full 360-degree immersion while keeping the 2D UI for the instrument panel. • Does CesiumJS currently offer native or straightforward support for WebXR/VR camera tracking? • Are there recommended third-party plugins, boilerplate templates, or integration practices (e.g., combining Cesium with Three.js or A-Frame) to achieve a smooth WebXR experience on browsers? I would love to hear your thoughts, technical recommendations, or if anyone has successfully implemented a similar VR camera setup in CesiumJS. Thank you so much for this incredible library!
Hi @RondineAviation ! While we don’t natively support WebXR in CesiumJS, there are ways to extend it to support. See this talk from DevCon earlier this year where a user walks through how they implemented WebXR support for their application: https://www.youtube.com/watch?v=keewb2kwE7U
For proper VR support, I would recommend building your experience with Unity or Unreal Engine, and incorporating Meta’s XR SDK to get it running on a device like the Quest.