tcp-flightgear

A flightgear extension of tcp-22

(still WiP on Github!)

The Idea

From Flightgear home:
FlightGear is an open-source flight simulator. It supports a variety of popular platforms (Windows, Mac, Linux, etc.) and is developed by skilled volunteers from around the world. Source code for the entire project is available and licensed under the GNU General Public License.
Fascinated by both Flightgear and the opportunity to run 3D graphics in a browser (via three.js and WebGL) without the need for an installation, this is an approach to migrate components of Flightgear to be ready to be run in a browser.

This gets even more fascinating with WebXR (f.k.a. WebVR) making Flightgear scenery and aircraft visible in virtual reality.

The components currently available are:

  • Scenery and scenery objects
  • Tools for converting 'btg' model format to GLTF
  • Aircraft model
  • Tools for converting 'ac' model format to GLTF
However, the core of Flightgear, the flight simulation, has not been migrated. All vehicle movement is very simple.

Show Cases


Scenery

An overview on an EDDK scenery with a FPC. Use w/a/s/d/cursor keys and thumbstick for moving/rolling.

Bluebird in Scenery

An overview on an EDDK scenery with a FPC controlled bluebird. Use w/a/s/d/cursor keys and thumbstick for moving/rolling.

Railing

Like the railing demo scene in tcp-22, but with a speed indicator from FG. Key 't' teleports, 'a' starts move, '+/-' adjust speed.

Bluebird Travel EDDK

A simple travel scene initially located at EDDK. Use 't' to teleport or 's' to start bluebird.
Use 'm' for opening a menu and selecting a tour.
(Needs a long time for loading and bluebird elevation is buggy).

Bluebird Travel EDKB->EDDK

A simple travel scene initially located at EDKB. Use 't' to teleport or 's' to start bluebird flight to EDDK.
(Needs a long time for loading and bluebird elevation is buggy).

Model Gallery

A gallery of Flightgear models included in tcp-flightgear. Some of the models are animated. Use w/a/s/d/cursor keys and thumbstick for moving/rolling.

Bluebird Flight from EDDK

Takeoff from 32L in EDDK. Use PGUP/DOWN for speed control and CUR*/a/d for flight control.

Show Cases (advanced)

Also uses models from external host, making loading slow (> 1 min).


Ground Services

A flat EDDK scenery showing ground services. Key 't' teleports, '5' starts service for selected aircraft (enable HUD for selecting), '9' starts automove.

Hangar

A simple scene for viewing aircraft model. Starts with 'c172p'. Use 't' to teleport or 'l' to load next.

Travel

A simple travel scene initially located at EDDK. Use 't' to teleport or 'l' to load aircraft c172p. After loading press 's' to start trip.

TravelWorld

travel world

User Controls

Controlling depends on the platform and the scene. In general, keys x/y/z can be used to fine tune the cameras position. In VR there is a control panel at the left wrist. The thumstick of a VR controller triggers key codes (left trigger 'wasd', right trigger cursor keys).
Key 't' teleports.

Launch Settings

Common settings for the scenes launched via the above buttons

Dev Mode
HUD
NearView
VR Control Panel
offsetVR
Team size

Credits

  • The team of flightgear for their great free flight simulator.
  • Thanks to the team of ThreeJs for their fantastic WebGl graphics engine.
  • Thanks to the team of JMonkeyEngine for their native Java 3D engine and to the team of LWJGL for making it all possible.
  • Unity is copyrighted by Unity Technologies.
  • Stewart Andreason (http://seahorseCorral.org/flightgear_aircraft.html) for 'bluebird'