On 08/13/2012 05:26 PM, Nick Jones wrote:
Hello,

   I am experiencing a performance decrease when OSG culls new objects into 
view for the first time. My current assumption is that the objects' textures 
and/or geometry must be pushed down to the GPU before it can be used. Once they 
are cached in the GPU, the performance returns to normal.

   Does anyone know of a way I can tell OSG to preload textures and/or geometry 
to the card during my load time? If I can preload all my data at load time, I 
won't have any performance decrease at run time. I am working on a real time 
system and I cannot afford the performance hits that I am getting.

You probably want to take a look at osgUtil::GLObjectsVisitor

--"J"

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

Reply via email to