På Mon, 14 Aug 2006 18:09:18 +0200, skrev Robert Osfield
<[EMAIL PROTECTED]>:
Hi Joakim,
On 8/14/06, Joakim Simonsson <[EMAIL PROTECTED]> wrote:
This is how I call the optimizer function:
optimizer.optimize(viewer->getTopMostSceneData(),
osgUtil::Optimizer::SHARE_DUPLICATE_STATE), so only the "if (options &
SHARE_DUPLICATE_STATE)"-clause is exucuted in Optimizer. So
OPTIMIZE_TEXTURE_SETTINGS is not handled in my app.
Could the files on disk already have the UnrefImageOnApply enabled?
I.e. have they been already run through the Optimizer with
OPTIMIZE_TEXTURE_SETTINGS on?
Yes!! That was the problem! The ive files were converted with default
optimization settings. Now it looks better :)
Thank you very much for the hint!
--
Joakim Simonsson
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/