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 winmail.dat___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Composite Viewer with TXP database works?
Unfortunately, I'm out of the office until Thursday. I'll test it first thing then and let you know how it works out. Donn -Original Message- 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 winmail.dat___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Composite Viewer with TXP database works?
Has anyone been using a Composite Viewer with multiple views and a TXP database? I have a viewer with a second view that sits in one place within the database. I can add whatever I want to the second view. It works fine unless I call: view2-setSceneData(databasenodes); where databasenodes is a TXP database. The scene comes up in the second view until I start to fly around within the database, then it dies. I'm thinking the TXP plugin has a problem maintaining two views. d ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Frame rate hit using OSG 2
Tried it both ways. I've found running in debug mode on Linux hardly affects the frame rate at all - on Windows it takes a big hit. -Original Message- From: [EMAIL PROTECTED] on behalf of Robert Osfield Sent: Fri 9/7/2007 9:02 AM To: Public OpenSceneGraph Users discussion list. Subject: Re: [osg-users] Frame rate hit using OSG 2 Hi Donn, Could it be that you've haven't built the OSG as release build? If you run cmake . stright it'll won't by default select the release build. If you run the ./configure script it will select the release build as it does: cmake . -DCMAKE_BUILD_TYPE=Release Robert. winmail.dat___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org