Hi Eduard,

On 28/09/10 6:08 , Eduard - Gabriel Munteanu wrote:
> I've been investigating an issue in Flightgear, an OSS flight sim using
> OSG. We have lots of stutter, usually in multiplayer, caused by loading
> new models (this happens whenever somebody join). Loading textures from
> disk happens on another thread (via DatabasePager), but I traced the
> issue to glTexImage2D() calls. So it's texture uploading to graphics
> driver / card that's causing it. It's not uncommon to see delays of
> 300ms for 500KiB - 1MiB textures.

Did you try to enable object pre-compiling on the DatabasePager thread via
'DatabasePager::setDoPreCompile(true)'?

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

Reply via email to