Re: [osg-users] When is the DatabasePager created and destroyed?

2013-09-13 Thread Robert Osfield
Hi Chris, On 13 September 2013 00:09, Chris Stankevitz chrisstankev...@gmail.comwrote: Thank you. I implemented this and it is rock solid. I had to do some head scratching as all my viewers might be running at different resolutions but I solved this by 1) making the pbuffer large enough

Re: [osg-users] When is the DatabasePager created and destroyed?

2013-09-13 Thread Alistair Baxter
I've only just got round to reading this, but for the sake of clarification, I think I know what your problem was. OSG will run perfectly happily at the start with a CompositeViewer but no views. But after some are created, as soon as they are all destroyed, the CompositeViewer decides that

Re: [osg-users] When is the DatabasePager created and destroyed?

2013-09-13 Thread Robert Osfield
Hi Aliastair. Interesting problem, not one I had thought of before. The idea of setting done to true when all the views are closed is just a mechanism to ensure exit from the frame loop. When adding views back in it certainly should be possible to get the frame loop restarted so _done should be

Re: [osg-users] There's no water when osgRiver running, please help me?

2013-09-13 Thread Mohammed Djeralfia
Hi, I have just tested osgRiver, the water is on the right corner of the river.3DS but only 1 segment is displayed( (-15 to 0). I had tried to change the code of osgRiver in RiverGraph::MergeRiverFromPoints(vectorRiverControlPoint points) at : RiverControlPoint next2 = curvePoint (changed to