I gave a look at PagedLOD and ProxyNode classes and the second one seems what I 
need. But unfortunately I don't understand the logic behind the loading. 
Moreover even if I set LoadingExternalReferenceMode the to LOAD_IMMEDIATELY the 
file is not really loaded "immediately". Which are the events that cause the 
file loading? Is here a way to force the loading?

Basically my scenario is as follows.
A piece of code should be able to create instances of my class setting also the 
external file for the real graphic but I don't want the graphic to be loaded at 
this point. In fact the code should only generate an object herarchy to be 
stored in an xml file. Another piece of code that reads the xml is able 
visualize the graphic, and so load it first.

Maybe playing with the UpdateCallback would be more appropriate in this case?

Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39085#39085





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

Reply via email to