Luca Pierabella
Menu

All work

Case 02 Asobo Studio 2019-2022

The glTF pipeline for Microsoft Flight Simulator

Microsoft Flight Simulator: aircraft over landscapes from around the world
FIG 1 Microsoft Flight Simulator (2020). Image: Microsoft / Asobo Studio

Microsoft Flight Simulator came with an SDK, so third-party developers could add aircraft, airports and missions. Asobo Studio chose glTF, an open JSON format, to move 3D data between tools and its own engine. I worked on it as Senior Technical Artist, from 2019 to 2022.

Taking the job meant leaving my comfort zone: from Unity to a custom engine, from Maya to 3ds Max, from C# to Python and C++, from shaders to tools. My job was to watch how artists worked and remove what slowed them down.

Schematic: 3ds Max scenes with containers and XRef go through the open source BabylonJS exporter to glTF with extensions, then into the Flight Simulator engine and SDK; MaxToolUpdater keeps every artist's exporter up to date
FIG 2 3ds Max to glTF to the engine and the SDK. Schematic.

What I built:

  • support for 3ds Max Containers and XRef in the exporter, so large scenes could be split and reused, and animations exported separately from the model;
  • tools for animations and LODs;
  • a Python SDK for 3ds Max tools, with the UI separated from the logic, instead of the usual MaxScript: easier to maintain over years;
  • MaxToolUpdater, a 3ds Max plugin with Perforce integration that updated exporters and scripts on every desktop. Before, updates were daily and manual;
  • documentation, and more than 10 glTF extensions published in the SDK with their JSON schemas.

Along the way, 100+ commits went back to the open source BabylonJS exporter.

Original project notes (2019)

Microsoft Flight Simulator: a glider over Alpine meadowsMicrosoft Flight Simulator: a small plane over Monument Valley at sunsetMicrosoft Flight Simulator: an airliner cockpit above the clouds
FIG 3 What the pipeline fed: the shipped game. Images: Microsoft / Asobo Studio