OpenSceneGraph: Difference between revisions

m
Fixed broken link to OpenSceneGraph downloads
No edit summary
m (Fixed broken link to OpenSceneGraph downloads)
(7 intermediate revisions by 3 users not shown)
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 (the latter being phased out as of 09/2012 as part of the ongoing [[Canvas Widgets|Canvas]] effort).
[[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.]]


Thanks to Mathias Fröhlich and Tim Moore, we can use recent OpenSceneGraph releases.
= 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]]}}


[[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.]]
'''The latest stable release of OpenSceneGraph is recommended for building FlightGear from git.'''


= Downloading OpenSceneGraph =
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 ==
Line 14: Line 16:
To download the '''latest stable version''' of OpenSceneGraph use:
To download the '''latest stable version''' of OpenSceneGraph use:


     svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.1 OpenSceneGraph
     svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.1 OpenSceneGraph


'''Manual Download''': If you don't want to use SVN, you can also pick a stable release from the OSG download page:
'''Manual Download''': If you don't want to use SVN, you can also pick a stable release from the OSG download page:


  http://www.openscenegraph.org/projects/osg/wiki/Downloads
  http://www.openscenegraph.org/index.php/download-section/stable-releases


If the main OSG site is down (frequently) you can also use one of its various mirrors:
If the main OSG site is down (frequently) you can also use one of its various mirrors:
Line 27: Line 29:
FlightGear developers may want to use a '''development release''' of OpenSceneGraph:
FlightGear developers may want to use a '''development release''' of OpenSceneGraph:


     svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.9 OpenSceneGraph
     svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.1.6 OpenSceneGraph


You can replace the "2.9.9" by future development OSG versions (if known to be compatible with FlightGear).
You can replace the "3.1.6" by future development OSG versions (if known to be compatible with FlightGear).


Alternatively, developers interested in '''today's OSG development''' can download the current OSG trunk.
Alternatively, developers interested in '''today's OSG development''' can download the current OSG trunk.
Line 35: Line 37:
'''WARNING''': The sources of current OSG development aren't always compatible with FlightGear. Only use these if you're interested in OSG development or developing new OSG features for FlightGear:
'''WARNING''': The sources of current OSG development aren't always compatible with FlightGear. Only use these if you're interested in OSG development or developing new OSG features for FlightGear:


     svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph
     svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk OpenSceneGraph


= Compiling OpenSceneGraph =
= Compiling OpenSceneGraph =
Line 93: Line 95:


= Features and issues =
= Features and issues =
Historically FlightGear has used [[PLIB]] instead of '''OpenSceneGraph'''. [[FlightGear 1.9.0]], released Decemeber 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.
Thanks to Mathias Fröhlich and Tim Moore, we can use recent OpenSceneGraph releases.


== Regressions in CVS/HEAD ==
== Regressions in CVS/HEAD ==
Line 110: Line 116:
** A new overhead window in the C172 (inside out)
** A new overhead window in the C172 (inside out)


* <strike>Runway lighting seems to have rendering artefacts on ATI Cards.<strike>
* <strike>Runway lighting seems to have rendering artefacts on ATI Cards.</strike>


* <strike>Enhanced runway lighting option in the drop-down menu seems to have no effect - light always appear enhanced.</strike>
* <strike>Enhanced runway lighting option in the drop-down menu seems to have no effect - light always appear enhanced.</strike>
3

edits