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
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
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
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
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
-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
to make multi
> >>pass drawings :
> >>
> >> |
> >> osg::Group
> >> |
> >> ------------------
> >> | |
> &g
gt; | osg::Group "B" osg::Group "C"
>> | [binNumber = 20][binNumber = 30]
>> |
>> osg::Geode "A"
>> [binNumber = 15]
>>
>>
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
>| osg::Group "B" osg::Group "C"
>| [binNumber = 20][binNumber = 30]
>|
> osg::Geode "A"
> [binNumber = 15]
>
- 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
-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 <[
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
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
14 matches
Mail list logo