Force ProxyNode loading

31 views
Skip to first unread message

Jérôme D.

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

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,
JD
Reply all
Reply to author
Forward
0 new messages