Hi,

On 10/3/06, Kawicki, Ryan H <ryan.h.kawicki at boeing.com <http://openscenegraph.net/mailman/listinfo/osg-users>> wrote:
>/
/>/ I am actually experiencing somewhat the same thing you are experiencing.
/>/
/>/ All of our text is rendered on a different layer, which is usually the
/>/ highest render bin, so it can be viewed above all other shapes. Each layer
/>/ first clears the depth buffer before each shape for that layer is
/>/ rendered. The layer here consists of a render bin that all the shapes are />/ dumped to. What I am seeing is the text starts rendering above all others, />/ but then, after several render passes, the text start rendering as if depth
/>/ testing is turned on. Shapes from lower layers seem to occlude the text
/>/ shape. This is strange behavior. I would expect one or the other.
/



If you are running the Optimizer on the scene, then the fix to osg::StateSet
which was checked into CVS on Monday may be relevant here.  Without
it the Optimizer could incorrectly eliminate (otherwise identical) state sets with different render bins. I encountered the problem in a similar situation to yours, trying to display text with a higher render bin than the rest of the
scene.

Regards

Colin McDonald

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to