Thanks Robert. Sebastian, yes, that is the thing I am after. Thanks a lot!

Nick

On Wed, Mar 11, 2015 at 9:49 AM, Robert Osfield <[email protected]>
wrote:

> Hi Nick,
>
> The osgDB::SharedStateManager might well be what you are looking for.
> It's not something I wrote or have used so can't provide lots of details on
> how best to use it, but I can say it's role is for sharing state between an
> already loaded scene graph and new loaded scene graph.
>
> Sebastian's suggestion about the using the Object Cache feature of
> osgDB::Registry is useful too for sharing osg::Image, which will help the
> SharedStateManager spot places where osg::Texture can be shared when they
> use the same osg::Image.
>
> Robert.
>
> On 10 March 2015 at 16:24, Trajce Nikolov NICK <
> [email protected]> wrote:
>
>> Hi Community,
>>
>> what was the way to have textures cached and reused on load? any hint?
>>
>> Thanks a bunch!
>>
>> Nick
>>
>> --
>> trajce nikolov nick
>>
>> _______________________________________________
>> 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
>
>


-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to