Tim Moore > > Sent: 04 December 2007 23:01 > To: FlightGear developers discussions > Subject: [Flightgear-devel] patch to use OpenSceneGraph database pager > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > http://www.bricoworks.com/moore/0001-OSG-pager-megapatch.patch > is a patch against current flightgear that uses the OSG > database pager to load scenery tiles instead of the old tile > loader. The main advantage of the database pager is that it > schedules texture loading and display list compilation in a > way that doesn't hammer the frame rate. Currently we don't do > anything at all about compiling OpenGL resources, so you can > get terrible stutter the first time you look at parts of a > scene. With this patch, that's gone. Also, old tiles are > deleted in the database pager thread, eliminating another > potential cause of stutter. > > This will be checked into CVS soon, but I've been hesitating > for three reasons: > > * It breaks the GLUT version; > > * Some bugs turned up with multiplayer play. I think I've > fixed these, but some more testing would be good; > > * Without patches to OSG that have been submitted to > osg-submissions, startup time is noticeably longer. > > Nevertheless, the patch is quite usable with OSG 2.2. Give it > a try if you're feeling adventurous. >
I've been running with this patch for a while now with OSG 2.2. The load time isn't too excessive. It provides enhanced smoothness, but the stutters around KSFO are still apparent here. Overall, the advantages outweigh the small disadvantge of increased laoding time. I certianly won't be reverting the patch, and look forward to it being in cvs, and osg taking the changes aboard. Vivian ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel