8,805
edits
(→Downloading OpenSceneGraph: Out of date, regering to very old OSG versions) Tags: Mobile edit Mobile web edit Advanced mobile edit |
(Remove obviously obsolete texts) |
||
Line 1: | Line 1: | ||
{{Out of date}} | |||
[[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.]] | ||
Historically [[FlightGear]] has used [[PLIB]] instead of '''OpenSceneGraph'''. [[FlightGear 1.9.0]], released December 22, 2008, marked the release of the OSG version of FlightGear. While much of the conversion to OSG has happened over the years, [[PLIB]] is still used for some functions. | |||
== Downloading OpenSceneGraph == | |||
{{Note|as of 12/2017, people may have to build using at least OSG 3.4 due to some compilation issues -for details, refer to [[Howto:Building FlightGear without HiDPI support]]}} | {{Note|as of 12/2017, people may have to build using at least OSG 3.4 due to some compilation issues -for details, refer to [[Howto:Building FlightGear without HiDPI support]]}} | ||
Line 11: | Line 13: | ||
You should use the unstable development releases (or build OSG from git) only if you intend to develop FlightGear against new features under development in OpenSceneGraph. For all other cases the latest stable release of OpenSceneGraph is usually the best option. | You should use the unstable development releases (or build OSG from git) only if you intend to develop FlightGear against new features under development in OpenSceneGraph. For all other cases the latest stable release of OpenSceneGraph is usually the best option. | ||
== Downloading Stable OpenSceneGraph == | === Downloading Stable OpenSceneGraph === | ||
The OpenSceneGraph project uses [http://svnbook.red-bean.com/nightly/en/index.html Subversion (SVN)] to distribute their sources. | The OpenSceneGraph project uses [http://svnbook.red-bean.com/nightly/en/index.html Subversion (SVN)] to distribute their sources. | ||
Line 28: | Line 30: | ||
http://www.freebsd.org/cgi/pds.cgi?ports/graphics/osg | http://www.freebsd.org/cgi/pds.cgi?ports/graphics/osg | ||
== OpenSceneGraph developer versions == | === OpenSceneGraph developer versions === | ||
FlightGear developers may want to use a '''development release''' of OpenSceneGraph: | FlightGear developers may want to use a '''development release''' of OpenSceneGraph: | ||
Line 41: | Line 43: | ||
svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk OpenSceneGraph | svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk OpenSceneGraph | ||
= Compiling OpenSceneGraph = | == Compiling OpenSceneGraph == | ||
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. | 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. | ||
Line 64: | Line 66: | ||
* You don't need to build the examples, wrappers or applications. | * You don't need to build the examples, wrappers or applications. | ||
== Installing OpenSceneGraph and FlightGear with --prefix == | === Installing OpenSceneGraph and FlightGear with --prefix === | ||
If you use --prefix to choose were to install FlightGear and do not want to install OSG globally on the system this can be done with the following method: | If you use --prefix to choose were to install FlightGear and do not want to install OSG globally on the system this can be done with the following method: | ||
Line 93: | Line 95: | ||
Installing with --prefix is a very nice way to keep several distinct and independent versions of FlightGear around. To start a new $PREFIX directory you'll also need to install plib in it, but that is easy. Most other needed dependencies are usually available through the package system of most Linux distributions (e.g. FreeGLUT, SDL, ALSA, etc). | Installing with --prefix is a very nice way to keep several distinct and independent versions of FlightGear around. To start a new $PREFIX directory you'll also need to install plib in it, but that is easy. Most other needed dependencies are usually available through the package system of most Linux distributions (e.g. FreeGLUT, SDL, ALSA, etc). | ||
== lib64 == | === lib64 === | ||
Content moved to [[Talk:OpenSceneGraph]] for now. | Content moved to [[Talk:OpenSceneGraph]] for now. | ||
= | == External link == | ||
= External link = | |||
* http://www.openscenegraph.org/ | * http://www.openscenegraph.org/ | ||