Hi Robert --  If I understand correctly, bin 0 is the default bin, typically
for opaque geometry, and bin 10 is typically for non-opaque geometry. Bin
numbers 1-9 are available for application-specific tasks, and RenderBins are
processed by the draw traversal in ascending order.
 
I'm creating a NodeKit that requires a separate RenderBin. Ideally, this
should render before bin 10. So, for example, I could hard-code bin number 9
for my special-purpose bin. What happens if the end-user application (or
some other NodeKit) is already using bin number 9? Does the draw traversal
processing order become indeterminate?
 
My question could be more generally phrased as: "how can separate code
modules be aware of what bin numbers are already in use to avoid these kinds
of conflicts?"
 
Also, it turns out I'm deriving a new class from RenderBin. I couldn't find
any example code that does this, so I'm treading new territory. Any tips you
could share on deriving new RenderBins would be appreciated. Potential
gotchas, etc.
 
Thanks,
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 
_______________________________________________
osg-users mailing list
[EMAIL PROTECTED]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to