@wesfly@mastodon.social cover

Hobbyist programmer and 3D graphics person.

This profile is from a federated server and may be incomplete. View on remote instance

@wesfly@mastodon.social avatar wesfly , to random

Working on a new aircraft in the simulator. I still have to improve the flight model, but it'll be online in a few days.
I used this code as inspiration: https://gist.github.com/Hermitao/0a908f8af19b11132e3bdb5ba4ef99f0

Fighter jet above Calvi, France
Fighter jet above Calvi, France

ALT
@wesfly@mastodon.social avatar wesfly , to random

The terrain collision chunking is implemented now! It really improved the performance of the collisions, even with very detailed terrain.

https://codeberg.org/wesfly/bevy-fs
https://github.com/wesfly/bevy_fs

Helicopter in sunset over chunked terrain, slight bank angle
Helicopter from below in the evening sky

ALT
@wesfly@mastodon.social avatar wesfly , to random

On my way to implementing chunks for terrain collisions...

https://codeberg.org/wesfly/bevy-fs
https://github.com/wesfly/bevy_fs

ALT
@wesfly@mastodon.social avatar wesfly , to random
@wesfly@mastodon.social avatar wesfly , to random

Lots of things happened my flight simulator since my last update two days ago.

  • New cockpit model
  • There is a throttle display
  • The sun position can now be changed without recompiling (settings.json)
  • All screen space effects are in one file (sse.rs)
  • Complete rewrite of the input handling (makes the helicopter easier to control)
  • There's a new procedural terrain (it doesn't have collisions yet)

https://codeberg.org/wesfly/bevy-fs/
https://github.com/wesfly/bevy_fs/

Helicopter over procedural terrain, sunset

ALT
@wesfly@mastodon.social avatar wesfly , to random

Animating anti-collision lights (these red flashing lights). It will be possible to turn it on and off using a cockpit button.

https://codeberg.org/wesfly/bevy-fs
https://github.com/wesfly/bevy_fs

Just demonstrating the on-off anti collision light in a beautiful sunset

@wesfly@mastodon.social avatar wesfly , to random

The graphics of the flight simulator have improved significantly over the last days, with a new atmospheric ambient light and screenspace ambient occlusion. There is also an update to the 3D model of the cockpit. I can't update to Bevy 0.18 yet, but I will do that asap.

https://codeberg.org/wesfly/bevy-fs
https://github.com/wesfly/bevy_fs

Helicopter over water, landscape in the distance
Cockpit updates include some new seats, new displays and new sidesticks

ALT
@wesfly@mastodon.social avatar wesfly , to random

I just added a cute little ground power unit and a cockpit camera! You can switch to the cockpit camera using the C key.

https://codeberg.org/wesfly/bevy-fs

A helicopter in a flight simulator, view from above
A helicopter with a ground power unit in the foreground

ALT
@wesfly@mastodon.social avatar wesfly , to random

After running into some dead ends, the flight simulator now has better and more accurate mesh collisions with the physics migrated to Avian3D. I also made a new helicopter model with decals and some lights, but it's not finished yet.

https://codeberg.org/wesfly/bevy-fs

Helicopter over a game landscape with two decals: bevy_fs and the registration RS-BEVY

ALT
@wesfly@mastodon.social avatar wesfly , to random

After a few days of struggling, I finally realised that it would be easier to make helicopter flight dynamics with Bevy Rapier, and it works now! Flying the helicopter in the simulator is probably as hard as flying a real one.

https://codeberg.org/wesfly/bevy-fs

Helicopter above a landscape in a computer game
Helicopter above a landscape in a computer game

ALT
@wesfly@mastodon.social avatar wesfly , to random

I made a little flight simulator in . I also added support for joysticks.

https://codeberg.org/wesfly/bevy-fs

ALT
@wesfly@mastodon.social avatar wesfly , to random

Made my own tiny wgpu raymarcher: https://codeberg.org/wesfly/wgpu_raymarching. Built with Rust + wgpu + WGSL shaders. Features real-time SDF scene, smooth object blending, camera controls, and FPS limiting. I'm still working at it. 🧑‍🔧

ALT