by mrguyorama · 4y ago · 0 comments
There was an entire scene around this, that built, sold and supported third party programs to help you build custom airports, paid tools for importing google earth ground textures, tools to help autogenerate tree cover for a ground texture based on machine learning of "this group of pixels look like a forest so place a forest here", plus all the tooling in the GIS space which is incredible and lovely.
I was a month into stealing google earth images with homebrew code using techniques borrowed from a different open source tool, hand labeling a hundred square miles of ground textures, including thousands of polygons to tell FSX where to place houses, a revamped local airport with new structures and signage, and autogenerating a winter version of the ground textures through writing some java code (because python is stupidly slow) to sample a "snow" texture and place it onto a green ground texture, which worked surprisingly well, writing code to overlay publicly available house polygon data and water polygon data to place rivers and lakes, before I go to hand labeling forests and trying to learn the machine learning tool before I gave up, and then MSFS2020 was announced about a year later.
This field is also related to turning google earth terrain and texture data into Assetto Corsa tracks, which has a similar community including paid tools (that mostly suck though)
I learned a lot of GIS and it was pretty great, and I got to play with a bunch of publicly available large datasets of different formats, and wrote code to generate 3D models from hightmaps, even though it was a terrible implementation.
Adding visual things to FS2020 is infinitely easier than any version before it. Meanwhile for ground texturing, turns out replacing that with google satelite data is as easy as proxying the web calls to google servers instead of bing. Theoretically, you could add in your own tileserver that also responds to those calls if you have your own ground textures, though I think you can also manage those in the dev tools in the sim.
Meanwhile, the api for moving data and programming into and out of the sim is super similar to how it was done in FSX, meaning it's almost backwards compatible, and supplemental apps that interact with your flight data were out within months.
Another fun thing about FS2020 over the previous version is that the 3D cockpit is much easier to program, because the instruments and even TV screen style flight displays can be programmed in javascript and WASM, giving you multiple different ways to build powerful and impressive cockpits. For FSX, things that wanted smart and powerful cockpit displays, like a modern boeing, basically required pulling data out of the sim, rendering it yourself, and smuggling that data back into the sim, meaning updating the displays at 15 fps put a large overhead on an already struggling single process executable.
MSFS2020 is so popular, and so easy to access, and so inspiring, that it has infinitely more amateurs trying to build planes in it than FSX had over it's entire life.
How does one go about learning more about this kind of programming?