=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2008-04-23_13:13:50 (timoore) /var/cvs/SimGear-0.3/source/projects/VC7.1/SimGear.vcproj
Rewrite livery texture replacement to copy StateSet objects Also, add a NodeAndDrawableVisitor that descends into osg::Drawable. That motivation for this is that it's a bad idea to modify state sets that the osgDB::SharedStateManager might be keeping. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2008-04-23_13:13:51 (timoore) /var/cvs/SimGear-0.3/source/simgear/scene/model/ModelRegistry.cxx /var/cvs/SimGear-0.3/source/simgear/scene/util/NodeAndDrawableVisitor.cxx /var/cvs/SimGear-0.3/source/simgear/scene/util/NodeAndDrawableVisitor.hxx Rewrite livery texture replacement to copy StateSet objects Also, add a NodeAndDrawableVisitor that descends into osg::Drawable. That motivation for this is that it's a bad idea to modify state sets that the osgDB::SharedStateManager might be keeping. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2008-04-23_17:09:23 (fredb) /var/cvs/SimGear-0.3/source/projects/VC7.1/SimGear.vcproj Update MSVC 7.1 projects =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2008-04-24_17:06:06 (timoore) /var/cvs/SimGear-0.3/source/simgear/scene/model/ModelRegistry.cxx /var/cvs/SimGear-0.3/source/simgear/scene/model/ModelRegistry.hxx /var/cvs/SimGear-0.3/source/simgear/scene/util/NodeAndDrawableVisitor.hxx Fix new livery code It turns out that the database pager causes the texture image to be unloaded after it is applied, so the image and its file name may not be available for doing the livery substitution. Ask a work around we set the name of the texture to its file name. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2008-04-25_03:41:29 (mfranz) /var/cvs/SimGear-0.3/source/simgear/scene/model/SGPagedLOD.cxx Till BUSCH: "tim recently noticed the database pager was repeatedly loading and unloading the same objects. he also tracked down the problem to missing bounding sphere information in osgDB::PagedLOD. this is a simplicistic approach to fix this: SGPagedLOD will now remember whatever value it sees for getBound() after loading a child. this patch will make database pager run much calmer." 2f585eeea02e2c79d7b1d8c4963bae2d ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel