Hi Michael, I have just reviewed the code and guess that the problem is that camera is never set up for the subgraph. The update code obviously should be a bit more savy about the test as whether to set up the camera or not - perhaps some kind of dirty mechansim is required.
Robert. On 10/19/06, Michael Henheffer <[EMAIL PROTECTED]> wrote:
Hi everyone, Since upgrading to OpenSceneGraph 1.2 I've noticed a problem with the OverlayNodes that I was using. I was previously using version 1.0. I'm using an OverlayNode with continuous updating set to false and the overlay no longer displays. I am calling dirtyOverlayTexture() when the subgraph is set or changes so that's not the cause. Everything works fine if I set continuous updating to true. I think the problem is related to the local camera update code in OverlayNode.cpp being moved into the update traversal. It appears that this code will now never be called if continuous updating is set to false. Could this be the reason I'm not seeing my overlays? Or am I likely doing something wrong in my code that has been exposed by a fix in 1.2? Thanks, Michael _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
