<div dir="ltr">Thanks Robert!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 2, 2020 at 10:34 AM OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">HI Nick,<div><br></div><div>The osgDB::ObjectCache can be used to share loaded data, so if the images are loaded from external files this will ensure the data gets shared.</div><div><br></div><div>There is also the utility for sharing state at runtime, but I don't recall it's name.</div><div><br></div><div>In each of these cases there is a limit to what it'll figure out as shared, none of them look at the internal data.</div><div><br></div><div>In the VulkanSceneGraph I have implemented the ability to place objects that you wish to share into a vsg::Objects container that you can place in an external file, then the model scenes then reference this with the a cache ensuring that the vsg::Object container is only loaded once and shared there after. The scheme is able to connect all the object IDs together so everything is consistent. This scheme only works with native VSG scene graphs as they obviously have to know about the scheme.</div><div><br></div><div>I mention the VSG approach as it should be possible to do something similar with the OSG, as the OSG has, in principle, most of the required IO features.</div><div><br></div><div>Robert.</div></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com" target="_blank">osg-users+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/mailman.7313.1596357254.3541.osg-users-openscenegraph.org%40lists.openscenegraph.org?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/osg-users/mailman.7313.1596357254.3541.osg-users-openscenegraph.org%40lists.openscenegraph.org</a>.<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br>
-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users%2Bunsubscribe@googlegroups.com" target="_blank">osg-users+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/mailman.7313.1596357254.3541.osg-users-openscenegraph.org%40lists.openscenegraph.org" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/osg-users/mailman.7313.1596357254.3541.osg-users-openscenegraph.org%40lists.openscenegraph.org</a>.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">trajce nikolov nick<br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/CAO-%2Bzi%3DisF1bDC9mp3WGv5-8WRFAKyUtp3uUFSRRfpZBFOpPYA%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/CAO-%2Bzi%3DisF1bDC9mp3WGv5-8WRFAKyUtp3uUFSRRfpZBFOpPYA%40mail.gmail.com</a>.<br />