[osg-users] Insight into osg::Operation

Robert Osfield robert.osfield at gmail.com
Sun Jun 7 03:58:28 PDT 2015


Hi Sebastian,

On 6 June 2015 at 20:06, Sebastian Messerschmidt
<sebastian.messerschmidt at gmx.de> wrote:
> Okay, sorry for the noise.
> My problem was a optimizer-run right after the scene was loaded, which of
> course might collapse groups.
> Any thoughts on how to optimize in the background anyways?

It's difficult to advice as it's hard to know specifically what your
application is trying to achieve.

In general, if your data is being loaded in background thread then
optimizing right after loading, but still during the background
thread, prior to merging with the main scene graph is the thing to do.
An osgDB::Registry::ReadFileCallback can be used for this purpose.

Robert.



More information about the osg-users mailing list