It is part of the utility functions we use to convert latitude/longitude to positions in 3d space :)
All of this work stemming from a single “I found a bug” kind of post from a user… wow.
You guys rock !
Thanks for an amazing blog post on this!
When you say “we actually use its size on screen to determine this [LOD] since we want those details to appear when zooming as well”, I’d assume that the sizes are different for different devices? For example, 4 inches on an iPhone 6 is nearly the entire screen, while it is only about 1/3 of the screen of an iPad Pro.
Interesting question… I’d think you could use an absolute size given mobile devices of all sizes tend to be used in a way that results in the screen being the same distance away from the eyes, and tablets (and other larger screen devices) typically have more resources to work with. I’m by no means an expert and could be totally wrong though.
Definitely a good read and a nice post! 👌🏻
Thanks for the post guys! It’s incredible how much goes on behind the scenes when we are flying. I’ve never thought about it being so complex.
Thanks for the post! Love to see Behind the scenes posts :)
This is extremely confusing, but super cool at the same time! Have no idea what any of this means, but I’ll just smile and nod my head.
Thanks for sharing!
Great! Another blog post that well informs
I remember doing some simple basic coding and learning the techniques of doing so a few years ago in elementary school, but this is far more complicated, advanced and beyond anything I ever did. And to top it off, I barely understand what each value means but I could guess… although considering I didn’t understand anything back then, I doubt I’d understand this… 😶
I could fetch my friend, who’s into coding and such, and has some knowledge into this. Maybe he could decode the meaning of the values and what they combined has for purpose…
Also I keep seeing he word Normal then a2_b2… also altitude… is that a measurement for height (ALT) X and Y (Horizontal and Vertical) lines, as you’d see in a X/Y graph?
Wow I started taking multiple coding courses and I can actually understand what is written in that picture lol
Do you guys code everything in Python?
No. Infinite Flight is in C# (pronounced C sharp). :)
Really cool to read! As I am doing an apprenticeship as an application developer, it is always great to read something like this.
Does this code related to Map or Postion like location?
Yes it is part of the code that allow us to convert from latitude longitude to positions in 3d space
Wow. Its amazing that you people manage to do this with a staff of hardly 10 people