Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-11-03 Thread Thomas Lerman
Thank you for your response. I have not been able to try much more on this as I already spent too much time on it. The layer that I am using between my app and osg has mentioned some lack of support, so I really do not want to spend more time on it until that is done. In any case, I am not usin

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-11-01 Thread Jason Daly
On 11/01/2011 12:17 PM, Thomas Lerman wrote: Yeah, I have been looking at the source code quite a bit lately trying to get these things to work. I am not really sure what your are saying about the following method: Code: int Viewer::run() { if (!getCameraManipulator()&& getCamera()->getAl

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-11-01 Thread Thomas Lerman
Yeah, I have been looking at the source code quite a bit lately trying to get these things to work. I am not really sure what your are saying about the following method: Code: int Viewer::run() { if (!getCameraManipulator() && getCamera()->getAllowEventFocus()) { setCameraManipula

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-11-01 Thread Robert Osfield
Hi Thomas, On Tue, Nov 1, 2011 at 3:22 PM, Thomas Lerman wrote: > Thank you for the suggestions. The problem with writing my own frame loop (I > already have done that) is that I run into another strange issue with the > positioning of the graphics window. You have the access to the source the

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-11-01 Thread Thomas Lerman
Thank you for the suggestions. The problem with writing my own frame loop (I already have done that) is that I run into another strange issue with the positioning of the graphics window. I am not familiar with using custom visitors. I have already spent too much time on this so may not have tim

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-10-31 Thread Tom Pearce
Hi Thomas, If you don't actually need the functionality of the 3rd party's update callbacks you could remove them using a custom visitor. Or you could do as Robert suggests and write your own frame loop which ignores the call you're having problems with as you see fit. This option really woul

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-10-31 Thread Thomas Lerman
Okay, I am beginning to understand. I am using a layer that is mostly between osg & my application. I do not believe I am doing any update callbacks directly, but could be wrong. What are the methods that register the update callbacks so I can get to the bottom of this before got viewer types "b

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-10-31 Thread Robert Osfield
Hi Thomas, On Mon, Oct 31, 2011 at 3:46 PM, Thomas Lerman wrote: > Maybe I am missing something or not quite understanding what you are > saying??? _camera->getUpdateCallback() is false and > getSceneData()->getNumChildrenRequiringUpdateTraversal() is 2. It would seem > that I do not have an u

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-10-31 Thread Thomas Lerman
Maybe I am missing something or not quite understanding what you are saying??? _camera->getUpdateCallback() is false and getSceneData()->getNumChildrenRequiringUpdateTraversal() is 2. It would seem that I do not have an update callback. Would you mind telling me more about both of these methods

Re: [osg-users] Viewer/CompositeViewer inconsistency?

2011-10-31 Thread Robert Osfield
Hi Thomas, The Viewer::checkNeedToDoFrame() looks correct, and CompositeViewer one is missing the check for update callbacks in the scene graph. I have added the missing checks and checked this into svn/trunk. This fix will break the behavior you looking for in your app though, but it'll be corr