[osg-users] Is there any way to preload textures/geometry?

2012-08-13 Thread Nick Jones
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

Re: [osg-users] Is there any way to preload textures/geometry?

2012-08-13 Thread Jason Daly
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

Re: [osg-users] Is there any way to preload textures/geometry?

2012-08-13 Thread Buckley, Bob CTR MDA/DES
:26 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Is there any way to preload textures/geometry? 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

Re: [osg-users] Is there any way to preload textures/geometry?

2012-08-13 Thread Nick Jones
Buckley, Bob CTR MDA/DES wrote: osg::GraphicsOperation *gOp = camera-getRenderer(); ((osgViewer::Renderer *) gOp)-setCompileOnNextDraw(true); Thank You Bob! That did the trick... Nick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49254#49254