Hi,
I read 123.osgb file to a node, and then write it to 456.osgb ,however,the
456.osgb has a 10 times bigger size than 123.osgb. My code is here:
osg::ref_ptr node = osgDB::readRefNodeFile(123.osgb);
osg::ref_ptr options = new
osgDB::ReaderWriter::Options;
Hi Tangrijing
You may use osgDB::writeNode(*node, “456.osgb.zip”,options);
or try store Images as external compressed ive
Cheers
jane_rita wrote:
> Hi,
>
> I read 123.osgb file to a node, and then write it to 456.osgb ,however,the
> 456.osgb has a 10 times bigger size than 123.osgb. My code
2 matches
Mail list logo