]> git.mxchange.org Git - flightgear.git/commit
Use the OSG DatabasePager instead of FGTileLoader
authortimoore <timoore>
Fri, 14 Dec 2007 22:51:56 +0000 (22:51 +0000)
committertimoore <timoore>
Fri, 14 Dec 2007 22:51:56 +0000 (22:51 +0000)
commit616b2bf4f69a5cae8a12b4bf5007e2e2fecc9de1
treed55276f95989a3cf07c72e2e983ddd594705f52b
parent149419386d88db6d949682c6c2a02b62580cf0ff
Use the OSG DatabasePager instead of FGTileLoader

Make an OSG file reader for .stg files.

New class flightgear::SceneryPager, which is a subclass
osg::DatabasePager to handle explicit delete requests.

Modify FGNewCache, FGTileEntry, and FGTileManager to use
SceneryPager. Mostly this involved removing the queues that talked to
FGTileLoader.

Calculate accurate tile timestamps from the time they are traversed in
the cull stage (which means that they are visible) instead of updating
them periodically.

Replace tile entry transform and range node with one LOD node
16 files changed:
src/Main/fg_commands.cxx
src/Main/fg_init.cxx
src/Main/fg_os_osgviewer.cxx
src/Main/fg_os_sdl.cxx
src/Main/main.cxx
src/Scenery/Makefile.am
src/Scenery/SceneryPager.cxx [new file with mode: 0644]
src/Scenery/SceneryPager.hxx [new file with mode: 0644]
src/Scenery/newcache.cxx
src/Scenery/newcache.hxx
src/Scenery/scenery.cxx
src/Scenery/scenery.hxx
src/Scenery/tileentry.cxx
src/Scenery/tileentry.hxx
src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx