FGViewer
| Started in | 06/2009 |
|---|---|
| Description | Implements a standalone osgviewer based viewer for FG |
| Contributor(s) | Mathias Fröhlich |
| Status | Under active development |
| Changelog | /utils/fgviewer |
| Rendering |
|---|
|
Rendering Pipeline |
|
Effects and Shaders |
|
Ongoing Efforts |
|
Standalone Tools |
|
IPC/Networking |
FGViewer is an utility to load a lightweight OSG viewer instead of loading the entire simulator. Useful for checking aircraft models, scenery tiles and airport layouts. It is similar to OSGViewer, but has the added advantage that it supports .btg and .stg files.
Using FGViewer
To launch FGViewer, run the following command:
fgfs --fg-root=$FG_ROOT --fgviewer [path]
or:
fgviewer --fg-root $FG_ROOT [path]
where [path] is the path to the thing that you want to view. An example of a possible path is Scenery/Terrain/w130n30/w123n37/KSFO.btg.gz. The full command, will show the layout of San Francisco International Airport:
fgfs --fg-root=$FG_ROOT --fgviewer Scenery/Terrain/w130n30/w123n37/KSFO.btg.gz
Altough FGViewer does not do nearly as much initialization as FlightGear, so it is quick to start up, it does read preferences.xml and autosave.xml and understands the fgfs command line arguments. You can, for example, set property values on the command line.
Controls
| Key | Function |
|---|---|
| Esc | Quit FGViewer |
| LMB | Rotate view |
| MMB | Pan view |
| RMB | Zoom view |