159
edits
m (Robot: Cosmetic changes) |
mNo edit summary |
||
Line 1: | Line 1: | ||
As of October 29th 2006, [[FlightGear]] has migrated graphics functions from [[PLIB]] to '''OpenSceneGraph'''. [[FlightGear 1.9.0]], released Decemeber 22, 2008, marked the release of the OSG version of FlightGear. [[PLIB]] is still used for network, joystick and gui functions. | As of October 29th 2006, [[FlightGear]] has migrated graphics functions from [[PLIB]] to '''OpenSceneGraph'''. [[FlightGear 1.9.0]], released Decemeber 22, 2008, marked the release of the OSG version of FlightGear. [[PLIB]] is still used for network, joystick and gui functions. | ||
Thanks to Mathias Fröhlich and Tim Moore, we can use | Thanks to Mathias Fröhlich and Tim Moore, we can use recent OpenSceneGraph releases. | ||
[[File:Flightgear uml associations class diagram.png|thumb|270px|An [[UML Diagrams|UML]] class diagram disclosing the associations between some classes of the FlightGear source code.]] | [[File:Flightgear uml associations class diagram.png|thumb|270px|An [[UML Diagrams|UML]] class diagram disclosing the associations between some classes of the FlightGear source code.]] | ||
Line 8: | Line 8: | ||
== Downloading Stable OpenSceneGraph == | == Downloading Stable OpenSceneGraph == | ||
The OpenSceneGraph project uses [http://svnbook.red-bean.com/nightly/en/index.html Subversion (SVN)]. | The OpenSceneGraph project uses [http://svnbook.red-bean.com/nightly/en/index.html Subversion (SVN)] to distribute their sources. | ||
'''Note''': The source code should not be downloaded to the build.osg directory, or the build will not work correctly. See below. | '''Note''': The source code should not be downloaded to the build.osg directory, or the build will not work correctly. See below. | ||
Line 39: | Line 39: | ||
= Compiling OpenSceneGraph = | = Compiling OpenSceneGraph = | ||
OpenSceneGraph uses cmake. Since OSG version 2.7.3 (8th Oct 2008) | OpenSceneGraph uses cmake. Since OSG version 2.7.3 (8th Oct 2008) a relatively new version of cmake is required. According to OSGs CMakeLists.txt it's 2.6.1 but cmake 2.6.0-5 from [http://backports.org/dokuwiki/doku.php backports.org] for Debian/Etch does the trick. | ||
It's also possible to comment out lines 25 to 27 in OSGs CMakeLists.txt: | It's also possible to comment out lines 25 to 27 in OSGs CMakeLists.txt: | ||
# if(POLICY CMP0008) | # if(POLICY CMP0008) | ||
Line 128: | Line 128: | ||
* Exhaust shader | * Exhaust shader | ||
* Weather Radar is | * Weather Radar is not showing any clouds | ||
* cloud layers don't follow the curve of the earth | * cloud layers don't follow the curve of the earth |
edits