Skip to content

PhilCrowther/Aviation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Aviation Resources Repository (rev. 26 Jan 2025)

This repository contains aviation-related resources designed to simulate 3D flight in three.js.

This includes a flight simulation module (Flight), an iFFT ocean wave generator module (Ocean), and a fully animated WWII fighter airplane (FM2).

The repository includes several sample programs that show how to use these resources.

  • The fdem programs show a basic airplane flying over the ocean and land (using the applicable modules).
  • The fmod programs show detailed airplane models flying over an animated ocean.
  • The fsim programs are basic flight simulation which use the flight, grid and ocean simulation modules.

You can run these programs and load these resources using the following syntax:

https://philcrowther.github.io/Aviation/file_name

For example:
https://philcrowther.github.io/Aviation/fmod_FM2_ocean_gpu_gh.html
https://philcrowther.github.io/Aviation/fsim_FM2_ocean_gpu_gh.html

NOTES:

The Modules are located in the JSM directory and include the Flight Module, the GrdMap Module (for use with land-based programs), the Ocean Module (an iFFT wave generator), the GrdWtr Module (a version of GrdMap used with ocean based programs), the AnimFM2 Module (used to animate the FM2 model), the Smoke module [new] (which creates the volcano smoke and the ship wakes) and the Warfare module [new] (which creates gunfire and AA guns). To avoid confusion, the JSM directory now contains only the latest versions of these Modules (except for the older WebGL version of the Ocean module). These all work with WebGPU (r172).

Special thanks to Attila Schroeder for his encouragement and assistance in converting everything to NodeMaterials and WebGPU. And to all the volunteers at three.js who took on the daunting task of modifying three.js to work with NodeMaterials and WebGPU. And to all the other three.js programmers who took the time to answer my questions.

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published