Wright Flyer in 0.9.9
|Developed by||FlightGear Developers & Contributors|
|Initial release||July 17, 1997|
|Latest release||2.8.0 (February 17, 2012)|
|OS||32-bit Windows, Linux, Mac OS X, FreeBSD, Solaris or IRIX|
|Development status||Active (1996-)|
|License||GNU General Public License|
FlightGear Flight Simulator (often shortened to FlightGear or FGFS) is a sophisticated free, completely open-source flight simulator framework, created by volunteers. FlightGear is released under the terms of the GNU General Public License. FlightGear is mostly written in the C++ programming language.
Increasingly detailed and realistic versions of FlightGear have been released every year since the project was started in 1996.
The latest public release is available as a free download at flightgear.org/download/, with specific builds for a variety of operating systems including Microsoft Windows (Win 32), Mac OS X, Linux, IRIX, and Solaris.
See FlightGear History for the main article about this subject.
FlightGear development started with an online proposal in 1996, using custom 3D graphics code. Development of an OpenGL based version was spearheaded by Curtis Olson starting in 1997. Many people have contributed to the project in the years since its inception.
FlightGear incorporated other open-source resources, including the LaRCsim flight model from NASA, and freely available elevation data. The first working binaries, using OpenGL for 3D graphic code, came out in 1997. Enthusiastic development of newer versions for several years resulted in progressively more stable and advanced versions. By 2001, the team was releasing new beta versions regularly, and by 2005, the maturity of software lead to more widespread reviews, and increased popularity. 2007 marked a formal transition out of beta development with the release of version 1.0.0, ten years after FlightGear's first release in 1997.
In 2008, version 1.9.0 of FlightGear included a major change from PLIB to OSG, which caused the temporarily loss of some features like 3D clouds and shadows, while newly added features, such as particles, imparted another degree of realism to the simulation.
The simulation engine in FlightGear is called SimGear. It is used both as an end-user application and in academic and research environments, for the development and pursuit of flight simulation ideas.
This customizability of FlightGear is illustrated by the wide range of aircraft models that are available in FlightGear, from gliders to Helicopters, and from airliners to fighter jets. These aircraft models have been contributed by many different people.
The FlightGear aircraft use one of three main data models JSBSim, YAsim, or UIUC as of version 0.9.10. Currently only one terrain engine is used, TerraGear. Weather effects include 3D clouds, lighting effects, and time of day.
Flight Dynamics Models
Flight Dynamics Models (FDM) are how the flight for an aircraft is simulated in the program. FlightGear uses a variety of internally written and imported flight model projects. Any aircraft must be programmed to use one of these models. Currently FlightGear is the only flight graphical flight simulator all the FDM are used for, and UIUC and YASim were developed specifically for FlightGear.
Early version used a FDM based on LaRCsim by NASA, which was replaced with more flexible FDM.
- JSBSim - the default flight dynamics model software since 2000.
- YASim - another FDM using different calculation method. Introduced starting in 0.7.9 in 2002.
- UIUC - another included FDM, developed by the UIUC Applied Aerodynamics Group at University of Illinois at Urbana-Champaign, also made use of LaRCsim.
- FlightGear can also be setup to render using inputs from an external FDM source, such as from MATLAB.
- Other custom FDM for a specific aircraft type have been written, such as for lighter than air aircraft.
Unlike commercial software titles, the main output of the project is simply the release of a collection of code. To turn it into a usable program it must be compiled for a given platform. The software libraries used to create FlightGear have varied over time. The main one is SimGear, which is the underlying sim engine for FlightGear. TerraGear is not a dependency, but simply a name for the default terrain data program in FlightGear. OpenAL is used for sound/audio software, including support for SDL (since 0.9.5). PLIB is used for hardware support routines, formerly used for sound support also which was taken over by OpenAL. OpenGL is used for its integrated 3D graphics routines, and other hardware acceleration (namely DirectX) is not supported. OpenSceneGraph is also integrated into FlightGear. Finally, Simple DirectMedia Layer is a software library which is used for compiling. Some of the dependencies vary depending on which platform the code is being compiled for. FlightGear users must either compile the code themselves, or find a third party to release a binary, if it is not among the ones available from the project.
Hardware needed for FlightGear is narrow to machines that support OpenGL and 3D hardware acceleration, with NVIDIA hardware having better support. Early versions had support for 3dfx cards, though this dropped as hardware requirements increased.
Add-ons and customization
There are programs that are either integrated into FlightGear (dependencies) or perform a function with it. Some of these are included in the release of FlightGear for a specific platform but made by the project, while others are independently distributed but are hosted by the FlightGear project.
One major additional software is the actual interface for launching an executable of FlightGear. For most of its early life FlightGear was only run through command line interfaces. However, the FlightGear Launch Control has been included with the FG launcher front-end since 0.9.3 in 2003. KFreeFlight is a launcher/front-end for KDE. FGTools is an alternative windows launcher front-end. FGKicker is a GTK+ based front-end.
Other significant programs include editors and projects for Terrain Data. Atlas is a chart/map support for FlightGear; Kelpie Flight Planner is a Java based flight planner for FlightGear. FlightGear Scenery Designer is a FlightGear scenery editor for working with terrain data. The World Custom Scenery Project is a project coordinating custom scenery efforts. Finally, TaxiDraw is an editor for airport runways and taxiways.
See Table of models for the main article about this subject.
FlightGear started out with an aircraft included in NASA's LaRCsim, a Navion, which was replaced by a Cessna 172 by 2000. UIUC as well as JSBsim development brought several more aircraft with them, as did the development of YASim which have since become the main FDM used in FG. Over 350 aircraft in more than 450 unique liveries, are available for version 2.0.0, although only a few are included in the base package.
See Scenery for the main article about this subject.
Networking and multi-display
Several networking options allow FlightGear to communicate with other instances of FlightGear. A multiplayer protocol is available for using FlightGear on a local network in a multi aircraft environment. This could be used for formation flight or control tower simulation. Multiplayer was soon expanded to allow playing over the internet. Other features include a Google maps based moving up that allows users to observe where other players are.
Several instances of FlightGear can be synchronized to allow for a multi-monitor environment. If all instances are running at the same frame rate consistently, it is possible to get good and tight synchronization between displays.
FlightGear code vs. binaries
Unlike most commercial software, the project release dates only apply to a release of code, not an executable program. To create a runnable program the code must be compiled, which requires several specific libraries, including some general ones and, in some cases some platform specific ones. However, since this too difficult for most mainstream users, other contributors will work to make binaries available for a specific platform and operating system. These packages vary in their stability, performance, dependencies, and how up to date they are with the code base. For example, some older binaries work on Mac OS 9 but newer releases require specific Mac OS X versions.
For example, by late 2007 the latest code release was 0.9.11-pre1 (pre-release) and 0.9.10 (final). However, the actual binaries available vary significantly. Examples of actual binaries available a year after the release of the 0.9.10 code release:
- Win-32 has ~138 Mb package (v0.9.10) (For Windows 98, 2000, ME, 32-bit XP)
- Linux- pre-built packages for specific Linux distributions
- Slackware package (v0.9.10), Fedora Core 2,3,4 packages (v0.9.10), Pardus (v0.9.10), Debian (v0.9.9)
- Solaris packages either for it running on either SPARC or x86 processors.
- SPARC (v0.9.8), x86 (v0.9.9)
- Silicon Graphics IRIX
- SGI binaries for (v0.9.9)
- Mac OS X
- Mac OS 10.4 (v0.9.10)
- Mac OS 10.3 (v0.9.9)
- FreeBSD has a package for(v0.9.10)
Applications and usages
See Professional and educational FlightGear users for the main article about this subject.
FlightGear has been used in a range of projects in academia and industry (including NASA) and even home-built cockpits.
See FlightGear Reviews for the main article about this subject.