So I've been getting in to OSG, much thanks to the help here on the mailing 
list/forum. But I'm having some issues with performance which I can't seem to 
pinpoint.

I use extensive PagedLOD, in a similar way osgTerrain does it (using 
quad-trees). For me performance is the king and quality is secondary, so I want 
to have a frame rate that is at least 30 fps at all times (given some minimum 
requirements). When all LODs are loaded I get constant 60 fps which is due to 
the screen synch and when moving around I tend to get 20-30 fps due to loading. 
However, it is not uncommon that the fps dips completely and falls to sub 1 fps 
for a short while (up to a few seconds) and then resumes the 20-30 fps target.

What I've tried so far is to set the setMaximumNumOfObjectsToCompilePerFrame to 
a very low value (1) and set the thread priority for the DatabasePager to low. 
I'm using VBO:s for vertex data and am currently running OSX 10.6 with OSG 
2.9.6. For me it's vital to get rid of these dip, I'd much rather display low 
res data then getting drops.

Profiling for me through Xcode seems to put the DatabasePager out of order so I 
can't really pinpoint why I'm getting these drops.

Any ideas or suggestions?

Cheers,
Adrian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25647#25647





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

Reply via email to