Lurker News
Buckle your seatbelt, secure your tray table, and open your window shade. Now you can simulate flying anywhere in the world as a commercial passenger, from takeoff to touchdown. Terrain, weather, and realtime sun position included. Don't worry, the latest release now features legs, so you can get up and go to the bathroom on longer flights. Enjoy!

Comments (205) 90 threads

Earlier comments
etatester6 replies#
Crashed within 10 seconds on iPhone 17 Pro. Love the vibes
sdcfgy#
Yeah same here.
djmips#
ahhh your phone crashed! I was a bit confused for a moment... Could you imagine if the airplane crashed like 1 in every million plays?! :O
gizajob#
Looks amazing for the 2 seconds before it implodes on iPhone though.
minikomi1 reply#
You have to turn on airplane mode
SomeonesAccount#
underrated comment
PUSH_AX1 reply#
It uses too much RAM, it’s vibe coded so makes sense
rkotcher#
well, actually I had tested in iphone and did some things to but back on mesh size & also streaming terrain so that I'm not overrendering textures. I have not tested on all devices as I only have one mobile device. The tradeoff is render quality - maybe I'll make a lower triangle or 2K texture mode?
tosti1 reply#
It's slow in FF, too. Cool for a flight simulator to crash, but it should simulate a plane crash. Not crash the simulator itself :)
vlabakje90#
Immediately crashes my FF on Windows 11.
mikeshi421 reply#
3 overhead reading lights for a 2-2 configuration? On a trans pacific flight? Literally unplayable.

Would love to see this open source and extended!

rkotcher#
lol!
GreyMolecules#
Hahaha this is awesome. I can teach what it's like to be on an airplane to my friend who has never flown before.

Currently playing on my usual route, ICN -> HKG. The flight path is too ideal. Due to airspace restrictions in china, almost every flight has to divert over taiwan in real life, but this one cuts thru mainland china.

LukaD6 replies#
Wow, this is so unbelievably unoptimized. The sound of my computer fans makes it so immersive. The shadow map is being rendered twice with 300+ draw calls and 1M+ triangles. Full resolution GTAO is probably even more expensive with a lot of fetches per texel. I'm sure there are a ton of low hanging optimization fruits and I'm confident claude et. al can fix all those issues, but if you don't know where to look and never profile the app then you get a vibe coded unoptimized mess.
rkotcher1 reply#
It's a work in progress. I have cut down on the original mesh size by quite a bit but continue to do that. I also fade out the resolution of the map tiles as you approach the horizon so you aren't loading ihgher res satellite images than you need. I've run entire flights on my 2022 mac pro with no issue, but as this is a side project it remains not as optimal as it could be. Any suggestions for order of operations / what should be fixed next are welcome :-)
LukaD2 replies#
I have a few suggestions:

- as I mentioned above, the shadow map is drawn twice, probably it's being auto updated by three.js at some point
- the entire cabin has a lot of triangles while the player only sees a small portion of it
- cabin lighting could be baked
- a lot of triangles seem to be rendered without backface culling, that's probably not intentional
- don't run GTAO at full resolution, try half
And also, use the spector.js [1] browser extension to profile the app and have your AI agent analyze the capture.
[1]: https://spector.babylonjs.com/

rkotcher#
awesome, I will look at each of these, one at a time. my bigger issue today was that I was not expecting so many people to try the app and have unoptimized bandwidth costs. bringing those down first and then will be looking into optimizations like you have listed. I honestly just built this thing for fun & it was running fine for me. now that others are using it it's time to start thinking about performance more. Appreciate the thoughts.
rkotcher1 reply#
fixed the shadow map being drawn twice, and have deployed that. going through each of these and considering. thank you for your suggestions.

Continue this thread — 1 reply

ascots1 reply#
Googling "gtao graphics" results in "Grand theft auto online"

"Gtao technique" was more helpful: Ground Truth Ambient Occlusion

selimthegrim#
The crossover potential here might get you a visit from the FBI
metabagel#
Sorry this seems to have ruined your day. /s
mkopinsky#
OP, please don't optimize this. The sound of my computer fans makes it so immersive. Or if you do, please add an option for immersive laptop fan mode.

https://xkcd.com/1172/

russdill#
One thing that really kills this for me is it just takes a straight line flight. It really needs to take flight data and pick a track that performed that flight so that turns occur.
theideaofcoffee#
Did the product manager look at this before it was released? We have a lot of work to do here! We need to create a sprint for optimizing it, otherwise no one will like it. Be sure to put the texel fetches in a user story. This should be top priority. Lots of users are very angry.

/s
Chill out and have some fun

Load more comments