Hi Lokesh, The easist thing to do would be to use osgconv to convert the files to native OSG binary format .osgb and have osgconv do the compression for you. Use osgconv --help for the options. The other alternative to to write your own osgDB::Registry::ReadFile callback that intercepts the readImage calls and changes the filename to the .dds equivalent.
Robert. On 23 May 2013 09:38, Lokesh kumar <[email protected]> wrote: > > > > Robert Osfield <robert.osfield@...> writes: > >> >> Hi Lokesh, >> >> Your OpenFlight model references all the textures it needs, and if you >> want to replace or apply new ones you should simply reload the model >> in Creator or other compatible modelling tool and apply the changes >> you need then save again. >> >> Robert. >> > > > hi Robert, > > I have a FLT model which has references to *.tga texture files(with proper > UV mapping). > > i converted these *.tga files into *.dds texture files using Nvidia DDS > utility tool (nvdxt.exe). > > now, i want to load and apply these *.dds texture files to my original FLT > model. > > > -Lokesh > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

