Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-17 Thread Christophe Medard
October 05, 2007 3:55 PM Subject: Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails) Yop, All right, Tim's right. So to conclude : - setRenderingHint is just a shortcut for setRenderBinDetails, it allows not to have to specify the name of bin type, and _renderingHint is useles

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-07 Thread Ulrich Hertlein
Quoting Christophe Medard <[EMAIL PROTECTED]>: > So to conclude : > - setRenderingHint is just a shortcut for setRenderBinDetails, it allows not > to have to specify the name of bin type, and _renderingHint is useless (for > those making inquiries on the OSG source) Well _renderingHint can be (and

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-05 Thread Christophe Medard
Yop, All right, Tim's right. So to conclude : - setRenderingHint is just a shortcut for setRenderBinDetails, it allows not to have to specify the name of bin type, and _renderingHint is useless (for those making inquiries on the OSG source) - indeed, the binNumber is the draw order number again

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Christophe Medard
2007 3:13 PM Subject: Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails) > StateSet::setRenderingHint is merly a convenience function for setting > the bin number and bin name it has no function beyond this. > ___ osg-users mailing

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Christophe Medard
Sorry if the drawing isn't clear (do the images pass the mails submitted in the mailing list ? If so, I could quickly make a quick drawing, more clearer that this "verbatim" presentation...) yes E is child of A in my diagram, so the answer is B-A-E0-D-C-E1. I understand that in fact you're sayi

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christophe Medard wrote: > Sorry for the mailer redisposing of things. > Here are the examples I wanted to submit : > > > | > > | | > osg::Group "A

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Robert Osfield
to make multi > >>pass drawings : > >> > >> | > >> osg::Group > >> | > >> ------------------ > >> | | > &g

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Paul Melis
gt; | osg::Group "B" osg::Group "C" >> | [binNumber = 20][binNumber = 30] >> | >> osg::Geode "A" >> [binNumber = 15] >> >>

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Christophe Medard
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 binNumbe

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Robert Osfield
>| osg::Group "B" osg::Group "C" >| [binNumber = 20][binNumber = 30] >| > osg::Geode "A" > [binNumber = 15] >

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Christophe Medard
- C ? I think exploring a concrete example like that clear things. Thanks - Original Message ----- From: "Tim Moore" <[EMAIL PROTECTED]> To: "OpenSceneGraph Users" Sent: Thursday, October 04, 2007 2:00 PM Subject: Re: [osg-users] RenderingHint vs binNumber(Rend

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Osfield wrote: > Hi Christophe, > > The definitive answer comes from the source: ... > > Which shows that setting rendering bin number *and* bin name is > equivalent, but not bin number alone. > > Robert. > > On 10/4/07, Christophe Medard <[

Re: [osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Robert Osfield
Hi Christophe, The definitive answer comes from the source: void StateSet::setRenderingHint(int hint) { _renderingHint = hint; // temporary hack to get new render bins working. switch(_renderingHint) { case(TRANSPARENT_BIN): { _binMode = USE_RENDERBIN_D

[osg-users] RenderingHint vs binNumber(RenderBinDetails)

2007-10-04 Thread Christophe Medard
Hi all, There's something I can't get a clear vision of despite my efforts. To parameterize order of drawing, there are two levers : renderingHint (set on a node or drawable through it's stateset osg::StateSet::setRenderingHint()) and binnumber (set on a node or drawable through it's stateset o