FPV drone simulator

Updates: implemented fisheye and motion blur. I think with the FPV camera that adds a lot of authenticity. For the TPV camera, the motion blur effect does not consider that the drone is stationary with respect to the camera so it gets blurred heavily but I already know how to fix that.

Next steps are fixing that and also moving the physics into a worker so it does not depend on graphics performance anymore.

It’s already possible to tweak every bit of physics and control by cloning the repo, hosting it locally and editing the configs but I want to make that more convenient with onscreen lil-gui and applying changes right away without reloading.

EDIT: drone is no longer motion blurred! However, the background that shines through the props is also no longer motion blurred which looks a bit weird. But you probably wouldn’t have noticed if I didn’t tell you but here we are, nothing we can do about it now. :stuck_out_tongue:

Is there a way to look around the drone? I find it a bit challenging to orient myself with only the forward view and a small playground to find.

All in all, I would feel better if you created a real sandbox where the playground is sitting on flat ground. You could add 3d trees to the landscape - like my medium poly tree (Aviation/scenery/models/tree.glb at 0abf7c192d40099c2ee13ceedde9c5e2a67e8c61 · PhilCrowther/Aviation · GitHub) to add depth.

Since you will not be flying long distances, you could create an entire landscape in Blender which could include your playground in the center. I have seen this done for flight sims (on YouTube) and they can be either very simple (flat) or very complex (with 3d terrain).

I removed the orbit controls because they are super ugly to use with a moving object. The levels so far are just for testing, I downloaded them from sketchfab, I’m not much of a 3D artist. I hope people contribute maps at some point :stuck_out_tongue: But yeah I can add a ground and some trees.

I think adding the ground and trees will eliminate a lot of the need for orbit-type controls. Once the ground is added, if I lose track of the swing set, I will know it’s altitude and will only need to determine the direction, which I can do by rotating the drone horizontally. You could add cues in the land or sky that will help with directions. But, for now, it doesn’t need to be anything fancy.

Physics now runs in a worker so the update rate is independent from graphics.
Also I’ve added more scenery for @phil_crowther :stuck_out_tongue: (80MB)

Didn’t use your tree tho, it doesn’t have a license.

I will really need someone to design a proper map at some point :smiley:

1 Like

There is now a new map with actual missions! You can fly through all rings or try to find all 8 red coins, I mean 12 pink balloons.

The last step is to make the config tweakable while the game is running instead of requiring a reload. Then I am going to tell drone people on reddit about it and ask for help tuning parameters.

1 Like