[osg-users] RenderingHint vs binNumber(RenderBinDetails)

Christophe Medard christophe.medard at oktal.fr
Thu Oct 4 06:13:40 PDT 2007


Sorry for the mailer redisposing of things.
Here are the examples I wanted to submit :


             |
      --------------------------------
      |                                              |
osg::Group "A"                        osg::Group "B"
[binNumber = 8]                 dft, so binNumber = 0
      |
  ---------------------------------------------
  |                                 |                                |
 osg::Geode "C"        osg::Geode "D"        osg::Geode "E"
 [binNumber = 5]      [binNumber = 1]          |
                                                                     |
                                                     ----------------
                                                  |                         |
                                  osg::Drawable E0     osg::Drawable E1
                       dft, so binNumber = 0        [binNumber=6]

Is it   B/E0 - D - C - A - E1 ?


Another example, closer to my current purpose test, practical to make multi
pass drawings :

              |
      osg::Group
              |
              -------------------------------------
              |                      |                               |
              |                      |                               |
              |           osg::Group "B"           osg::Group "C"
              |           [binNumber = 20]      [binNumber = 30]
              |
    osg::Geode "A"
    [binNumber = 15]


Is it A - B - C ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071004/cda9e065/attachment-0003.htm>


More information about the osg-users mailing list