Hi all, In my application I load all the models I need before start to render the scene. These models are loaded from flt files (heavy models with a lot of data). These objects are spread along the scene, I mean, not all of them are watched at the same time. When I move the camera around, the problem arises when it's the time to render one of the models for the first time, the application gets frozen for a couple of seconds. I guess that although the model is yet loaded, when it is the first render of the model there are some work that is done inside OSG (for example, I read in OpenSceneGraph Quick Start Guide that during the first render pass, OSG creates an OpenGL texture object to store the image data contained in osg::Texture2D).
I wonder if it's a way to do all the job needed before the first render of the object, to achieve a continuous execution of my application. Thanks in advance. Emilio Lozano.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

