Hi -- Not sure what you mean by "priority". The render bin number specifies
relative drawing order of sibling Nodes and Drawables. If each of your
Geodes' Drawables must get drawn in a certain order, then you should set the
render bin number on the StateSet of each Geode's render bin; Drawables will
be rendered in ascending render bin number order.
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Argentieri,
John-P63223
Sent: Wednesday, December 12, 2007 12:08 PM
To: OpenSceneGraph Users
Subject: [osg-users] INHERIT_RENDERBIN_DETAILS



Hello all. 

We are using inherit renderbin details to assign a nested set of priorities.
We have a group node with a top-level priority which contains several geodes
with priorities using the inherit flag. Each of the geodes has a textured
polygon geometry. We want to have the polygons depth test disabled and drawn
in a certain order so that they will show the last drawn on top.

OSG is not drawing these in order as it should. Any ideas what the problem
might be? We haven't used the override renderbin details flag anywhere, so
it is bizarre that things are happening this way. We can turn on blending
and lower the alphas and see that both our polygons are there.

John Argentieri 
Software Engineer 
GENERAL DYNAMICS 
C4 Systems 
(407) 281-5568 
[EMAIL PROTECTED] 

"This email message is for the sole use of the intended recipient(s) and may
contain GDC4S confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not an
intended recipient, please contact the sender by reply email and destroy all
copies of the original message."

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

Reply via email to