A flightgear extension of tcp-22
(still WiP on Github!)
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:
An overview on an EDDK scenery with a FPC. Use w/a/s/d/cursor keys and thumbstick for moving/rolling.
An overview on an EDDK scenery with a FPC controlled bluebird. Use w/a/s/d/cursor keys and thumbstick for moving/rolling.
Like the railing demo scene in tcp-22, but with a speed indicator from FG. Key 't' teleports, 'a' starts move, '+/-' adjust speed.
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).
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).
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.
Takeoff from 32L in EDDK. Use PGUP/DOWN for speed control and CUR*/a/d for flight control.
Also uses models from external host, making loading slow (> 1 min).
A flat EDDK scenery showing ground services. Key 't' teleports, '5' starts service for selected aircraft (enable HUD for selecting), '9' starts automove.
A simple scene for viewing aircraft model. Starts with 'c172p'. Use 't' to teleport or 'l' to load next.
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.
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.
Common settings for the scenes launched via the above buttons
Dev Mode | |
HUD | |
NearView | |
VR Control Panel | |
offsetVR | |
Team size |