Hey Everyone,

 

I saw a recent post on these boards asking how to control render order
for huds using render bins, and I was curious if the same can be done
for general subgraphs in a larger scene.

 

I'm placing a sign into my scene using a Billboard with some drawables.
The sign should behave like it's a 2D desktop that I can organize flat
drawables on.  Right now I'm changing depth values for each drawable to
control which one is drawn first.  For instance, I set the text one unit
closer to the eye than the backboard.  This works alright, but there is
z-fighting when the sign is far away.

 

Could I achieve the same prioritization using render bins?  My intuition
says that render bins won't help because all graphics objects are
treated equally once pushed down the GL pipeline.  However, I'm not
positive, and I thought asking might help, or perhaps there is an even
better way to handle this :-)

 

Thanks for any advice,

Chase

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

Reply via email to