Simplest way would be to open up the file in Creator and use the remove unused textures command
You could also write a simple Creator API app to do this on a list of flight files Another option would be to load the file in to OSG and save out as OSG or IVE file again you could write a simple script to do this for many files Gordon Tomlinson Product Manager 3d Technology & Project Wyvern Overwatch(r) An Operating Unit of Textron Systems -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Monday, March 01, 2010 10:29 AM To: OpenSceneGraph Users Subject: Re: [osg-users] [osgPlugins] OpenFlight - Palette Records prevent using of ReaderWriter Callback Alexandre Amalric wrote: > Hi osg-users, > > I have a question concerning the palette texture record. When > converting a flt model which texture palette contains useless texture, > they are even read. Is there a way to read only used texture. Let's > say I have a simple model file using 1 texture but my texture palette > in corresponding openflight model contains 100 textures, so 99% are > useless but the plugin read them. > > I know that it is a special case, but when working on Openflight > models with Multigen Paradigm it happens a lot. > > Any suggestion ? You'd need to modify the OpenFlight plugin to support this. -Paul _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org