OpenSceneGraph: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Added a link to OSG's CVS)
No edit summary
Line 1: Line 1:
== Getting a patched version of OpenSceneGraph ==
As of October 29th 2006, FlightGear has migrated from PLIB to OpenSceneGraph.


Thanks to Mathias Fröhlich, we can use an updated OpenSceneGraph version that  
Thanks to Mathias Fröhlich, we can use an updated OpenSceneGraph version that  
Line 6: Line 6:
* a fix to the RGB Loader
* a fix to the RGB Loader
* a small backport of OpenSceneGraph-CVS doing the right OpenGL version checks ...
* a small backport of OpenSceneGraph-CVS doing the right OpenGL version checks ...
== Getting OpenSceneGraph ==
=== The patched version ===
OpenSceneGraph-CVS it now up to date with the required patches and should serve as well for running FlightGear. Please note that the "Producer" build system is currently in the works, you probably want to check out with the "-D 20061113" tag.
OpenSceneGraph-CVS it now up to date with the required patches and should serve as well for running FlightGear. Please note that the "Producer" build system is currently in the works, you probably want to check out with the "-D 20061113" tag.


Line 18: Line 21:
And the MSVC8 win32 build dependencies for OpenSceneGraph can be found at http://www.oflebbe.de/oflebbe/FlightGear. Look out for the link to 3rdParty.zip.
And the MSVC8 win32 build dependencies for OpenSceneGraph can be found at http://www.oflebbe.de/oflebbe/FlightGear. Look out for the link to 3rdParty.zip.


=== The latest cvs version ===
You can check out the latest version of OSG by doing the followings:
cvs -d :pserver:anon@openscenegraph.net:/cvs/osg login
Then hit enter when you are prompted for a password.
Next, checkout the source code by doing:
cvs -z 6 -d :pserver:anon@openscenegraph.net:/cvs/osg co OpenSceneGraph
OpenSceneGraph is dependent on OpenThreads and Producer.  You can also do a cvs checkout of the latter two.
Note: hit enter when you are prompted for a password.
For OpenThreads:
cvs -d :pserver:cvsguest@openscenegraph.org:/cvs/openthreads login
cvs -d :pserver:cvsguest@openscenegraph.org:/cvs/openthreads co OpenThreads
For Producer:
cvs -d :pserver:anon@openscenegraph.net:/cvs/Producer login
cvs -d :pserver:anon@openscenegraph.net:/cvs/Producer co Producer
== Compiling OpenSceneGraph ==


If you get errors when compiling the patched OpenSceneGraph after having compiled (and installed) OpenThreads and Producer successfully (happens on Arch Linux), you may have to add the following to your 'make':
If you get errors when compiling the patched OpenSceneGraph after having compiled (and installed) OpenThreads and Producer successfully (happens on Arch Linux), you may have to add the following to your 'make':
356

edits

Navigation menu