Force ProxyNode loading

Skip to first unread message

Jérôme D.

Jun 14, 2021, 2:45:29 AMJun 14
to OpenSceneGraph Users

I have a custom model which takes some time to load, and to avoid blocking the main thread i use a proxynode to load it through the DatabasePager.
That works fine.

Now my problem is that i would like to load this node even if the proxy is not visible (mask == 0). My goal is to prepare the scenegraph so that when the user swiches this layer ON, it appears instantly. I dont know how to achieve this. The actual load is triggered during the cull traversal which will not happen if it is not visible.

Is there a way to achieve this?

Thank you,
Reply all
Reply to author
0 new messages