[osg-users] [osgPlugins] osgPlugins ReaderWriterRGB
Ming Lu
luming811120 at gmail.com
Wed Jun 15 00:50:44 PDT 2016
I found a interesting solution:
Code:
std::string texture_file_name =
osgDB::getStrippedName(image->getFileName());
texture_file_name += ".dds";
image->setFileName(texture_file_name);
osgDB::writeImageFile(*image, image->getFileName()
actually i just changed file extent name from rgb to dds...and it works...i get a lot dds file on disk...
I still don't get it...how it works...
maybe can somebody help me out to get a right way export compressed texture to file... :O
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67629#67629
More information about the osg-users
mailing list