We've found that if you play with the database pager settings (look in DatabasePager.cpp), you can change the performance of terrapage databases significantly.
The TXP pager code on the trunk has some optimizations in it that speed it up quite a bit. Plus it runs the optimizer, although, we found a database recently that takes a long time to optimize, which is sort of counter-productive. We took apps running at 20-30 fps to running at over 60Hz. -----Original Message----- From: [EMAIL PROTECTED] on behalf of Mielcarek, Donn Sent: Thu 6/19/2008 9:41 AM To: OpenSceneGraph Users Subject: RE: [osg-users] Composite Viewer with TXP database works? Robert, It's helped, but hasn't solved the problem. It doesn't crash right away, but it eventually will hit a random point and the program dies. Also, when the second window is open, it absolutely kills the frame rate from 30 hz to about 10 hz. I've run it SingleThreaded and haven't been able to get it to die, but again it's so slow as to be unusable. Don't you just hate these kind of problems? donn _____ From: [EMAIL PROTECTED] on behalf of Robert Osfield Sent: Mon 6/16/2008 9:18 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Composite Viewer with TXP database works? Hi Donn, I've done some testing and review of the txp plugin, and it looks like both the basic terrapage code and OSG code on top of it isn't thread safe w.r.t multiple camera positions/cull traversals. To prevent problems I've added a mutex into the TXPNode class that the txp plugin decorates the txp subgraph. So far in testing this looks to have resolved the crash. Could you try the SVN version of the OSG? Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org