Hi Pjotr,

I still haven't decided upon a solution for the object cache related
threading issues, these are my thoughts:

1) Pass the post processing traversals like StateToCompile traversal on to
the Registry to call them directly after load and before the subgraph is
assigned to the cache.  To do this we'd need to pass a list of operations
to do on the loaded subgraph, possibly via the osgDB::Options data
structure or separate field.

2) Defer the placement of the object into the cache onto the calling
class.

3) Change the DatabasePager so that it switches off the automatic usage of
the object cache and instead manages it locally so it can manage the
ordering.

Do you have any thoughts or your own or thoughts about the above?
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to