HI Raymond,

There is the osgUtil::GLObjectsVisitor that you can use to precompile
the scene graphs GL objects.  This is run by default by the various
viewers on start up, but it not after, so if you add to the scene
graph later then you'll need to run the GLObjectVisitor on the new
subgraphs.  The DatabasePager will do its own management of GL objects
so you don't need to worry about this.

Robert.

On 2/26/07, Raymond de Vries <[EMAIL PROTECTED]> wrote:
Hi everyone,

I have been searching the code and documentation but can't find my
solution. I would like to avoid the effect that a visualisation holds a
little when a texture or so is being prepared and uploaded to memory,
when it comes in the viewing frustum. At least, I think that this is
causing the effect.

Can I force all the loaded data to upload to the rendering context right
after loading/building a scene graph? I have been looking into
osgDB::DatabasePager but I am wondering whether this is the right spot.

Can someone help me with this?
Thanks a lot
Raymond

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to