Michael Henheffer
2006-10-19 18:22:55 UTC
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
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