I'm seeing an interesting issue with an existing app upon upgrade from OSG
2.8 to the trunk (well 2.9.8).
A simplified version of the situation is like this: I have two drawables
both of which use texture unit 0.
In the stateset for both objects I have:
textureUnit 0 {
GL_TEXTURE_2D PROTECTED|ON
}
For simplicity I will refer to object one as Airplane and object two as
HUDElement.
The issue is this- when Airplane is in view, both Airplane and HUDElement
render correctly. When airplane is out of view(culled), HUDElement no
longer renders correctly (it appears the texture unit is turned off). If I
remove the GL_TEXTURE_2D ON from Airplane then HUDElement does not render
correctly even when Airplane is in view. Airplane and HUDElement are not
parents/children of each other and are in fairly distant parts of the graph.
This issue did not exist/manifest when I was using OSG 2.8 but now exists
when I 'm using OSG 2.9.8 (no other changes).
Does anyone have any thoughts for me?
PS I have suspicion about the actual render time state so I posted a
separate but related general question about that.
Thanks
-Brad
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org