hey Robert, Regarding you reply for preload textures question. I still have a couple of questions.
What i have done so far is to create a myCameraPreDrawCallback which extends from Drawcallback. In this class i override the operator to create a GLObjectsVisitor. Also, when the callback is constructed i keep a reference to the sub graph and then in the call back operator i let the sub graph accepts the visitor. I am not sure this is a right approach but i am puzzled with one thing is how do you know the sub graph is complied and how to remove the call back? Also, where should i get the camera from? is this just a camera i create or i should get from the viewer? Thanks again Charles
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

