James Turner
78498c560d
Rename preferences.xml -> defaults.xml
...
Requires FGData commit: 0565eaab10a5d466cd485766b17d1870936a0a57
(which actually renames the file).
Also disables the preferences-load command since I don’t believe it
would actually be safe to reload the defaults without doing a simulator
reset (aircraft -set.xml values would be overwritten, for example)
2017-01-12 09:45:19 +00:00
James Turner
6d0c2070fd
Use future-proof SGPath APIs.
...
Remove uses of .str(), .c_str() and some other methods of SGPath.
Pass SGPath directly where possible, or explicitly convert to the
appropriate 8-bit encoding.
2016-06-28 10:08:38 +01:00
Stuart Buchanan
b654477794
New materials.xml format
2014-08-09 20:43:34 +01:00
James Turner
b7a9aee796
FGViewer fixes
...
- ensure active material are cached
- clear osgDB object cache on exit explicitly
2014-01-29 10:10:53 +00:00
James Turner
ce3a7b20fe
Crash-fix: mat-lib is now reference-counted.
...
Adapt to corresponding SG change to make SGMaterialLib be ref-counted,
and have the 'reload-materials' command notify the tile-manager of this,
so it can update the options struct it passes to new tiles.
2014-01-19 16:49:44 +00:00
James Turner
e81df0df1f
Fix FGViewer compilation when HLA is disabled.
...
Changed definition in config_cmake.in means #ifdef is no longer
a valid test; use #if instead.
2013-10-20 15:56:33 +01:00
Christian Schmitt
2013f7149d
Some headers missing... ;)
2013-02-07 19:00:54 +01:00
Mathias Froehlich
243929274b
fgviewer: Import hla based viewer application.
2012-12-16 16:52:28 +01:00
Mathias Froehlich
6e5ef711fa
fgviewer: Update fgviewer.
2012-07-21 15:23:34 +02:00
Mathias Froehlich
d2411199e8
fgviewer: Update to current initialization structure.
...
Improove argument parsing. Reorder initialization.
2012-03-15 21:11:44 +01:00
Mathias Froehlich
1ddb658a70
scenery: Move flightgears paging back into the application.
...
This way of scenery paging is really application code.
Now that the simgear stg loader is seperated from the paging
code, this appication specific paging can reside here.
May be at some time also use the spt stuff here.
2012-03-15 20:56:37 +01:00
Mathias Froehlich
44c716bb03
scenery: The tile entries load callback is not needed anymore.
...
The stg loader can do this itself.
2012-03-15 19:39:07 +01:00
Mathias Froehlich
ba8fd4c7d1
fgviewer: adapt to simgear upstream changes.
2012-03-08 07:32:18 +01:00
Mathias Froehlich
daf3fbcd67
fgviewer: Make use of the world texture when no file argument is given.
2012-03-04 20:31:14 +01:00
Mathias Froehlich
c71c9aee0a
Adapt to simgear SGMath change.
...
Simgears SGMath has lost its dependency on osg.
Update includes and code using these methods.
2012-03-03 13:37:43 +01:00
Mathias Froehlich
7d1372cae0
fgviewer: Improove reader/writer option command line handling.
2011-12-17 08:28:33 +01:00
Mathias Froehlich
33630ffe33
fgviewer: add DatabasePager.
2011-12-16 21:45:33 +01:00
Mathias Froehlich
7f528bbd31
fgviewer: add StateSetManipulator.
2011-12-16 21:45:09 +01:00
Mathias Froehlich
b2eb047a03
fgviewer: add license header, adapt to cmake.
2011-11-13 18:34:53 +01:00
Mathias Froehlich
42fb9b8e9f
Consolidate the different ReaderWriterOptions classes.
2011-11-13 18:34:53 +01:00
Mathias Froehlich
e389b45599
Provide command line arguments for fgviewer.
...
Provide --fg-root and --fg-scenery command line
processing for fgviewer.
2011-07-15 17:57:32 +02:00
Mathias Froehlich
827ea96d7e
Make fgviewer at least somehow work again.
2011-06-22 22:15:04 +02:00
Tim Moore
473cea7f17
remove references to osgGA::MatrixManipulator
...
This class has been removed in current OSG sources.
2010-05-31 07:06:55 +02:00
frohlich
4b2d677220
Read FG_ROOT/preferences.xml if we can find that.
...
Modified Files:
fgviewer.cxx
2009-06-11 16:05:20 +02:00
frohlich
dd66e37353
More default setup for FG_ROOT
...
Modified Files:
fgviewer/Makefile.am fgviewer/fgviewer.cxx
2009-06-11 16:05:19 +02:00
frohlich
0c3dc88652
Add some camera manipulators to the viewer.
...
Set up more of the flightgear internal environment.
Modified Files:
utils/fgviewer/fgviewer.cxx
2009-06-03 23:45:33 +02:00
frohlich
0d0076d69c
Better error message when materials cannot be loaded.
...
Modified Files:
fgviewer.cxx
2009-06-03 00:18:55 +02:00
frohlich
b180ce7be5
Add osg stats and other usefull stuff.
...
Modified Files:
utils/fgviewer/fgviewer.cxx
2009-06-03 00:18:55 +02:00
frohlich
0c0b38733e
Add a new tool called fgviewer.
...
Modified Files:
configure.ac utils/Makefile.am
Added Files:
utils/fgviewer/.cvsignore utils/fgviewer/Makefile.am
utils/fgviewer/fgviewer.cxx
2009-06-03 00:18:54 +02:00