Farshid Lashkari wrote:
10. Should these be #defined or enumed in some header file so that
more complicated bin arrangements can be future-proof and easier to
design just by looking at the headers?
This is a good idea. You should probably add these definitions in the
header file for StateSet.
...
The bin name specifies what type of bin to put it in. For example, the
default "RenderBin" uses state sorting to render drawables with the
same bin number. The "DepthSortedBin" sorts drawables by their depth.
On the same note wouldn't it make sense to also add #defines for these
two names? Like STATE_SORTED_BIN and DEPTH_SORTED_BIN?
/Ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/