Hi,

I am trying to display text which always stay on top. (but it's not a hud)
So I turn off depth test on the text, and set bin number to 20 to make it 
render last. It only worked partially. The text rendered on top of all opaque 
objects, but not transparent objects.

I tried both "RenderBin" and "DepthSortedBin" as bin name, and also tried the 
override flag. But nothing helps.

Can sameone tell me how exactly the renderring order works.
Does it order objects by bin number first then bin name or the other way around?
Does object hierarchy matters?

My text and transparent object are both under the same parent.
Something like this:

Parent  -- PAT   -- Geode   --  Drawable
 \______ PAT   -- Geode   --  Text

The transparent bin was set at PAT level for the transparent object, but the 
setting bin number to 20 is down at osgText level.

Could this be the problem?

Thank you!

Cheers,
Jimmy
Code:




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30357#30357





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to