Hi Guy, As Chris suggested the best tool for doing this job automatically is a custom osgDB::Registry::ReadFileCallback that loads the models using the standard Registry::readNodeImplementation() method and then run a custom NodeVisitor that locates all the textures and changes their filter settings appropriately.
Robert. On Mon, May 25, 2009 at 7:47 PM, Guy Volckaert <guy.volcka...@meggitt.com> wrote: > Hi, > > I have several openflight terrain database that use bilinear mipmaping (which > look ugly). Is there a easy way to force all terrains to use trilinear > mipmapping upon loading the terrain? Obviously I can change the openflight > plugin to check if a trilinear flag is set, but I would like to avoid > changing any OSG file. > > Thank you! > > Cheers, > Guy > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=12925#12925 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org