'
Subject: Re: [osg-users] INHERIT_RENDERBIN_DETAILS
INHERIT_RENDERBIN-DETAILS tells the CullVisitor to ignore a StateSet's
bin number and bin name, and instead simply keep using the current
number/name. So, in your example, I'd think both Drawables would go into
the same bin, and their order would
INHERIT_RENDERBIN-DETAILS tells the CullVisitor to ignore a StateSet's bin
number and bin name, and instead simply keep using the current number/name.
So, in your example, I'd think both Drawables would go into the same bin,
and their order would be determined by the sorting associated with name
Hi John -- Can you post an .osg file that demonstrates the problem in
osgviewer?
-Paul
Robert,
We are using getOrCreateStateSet()-setRenderBinDetails. What
we have is
this:
osg::group1-osg::group2-osg::group3-osg::geode-osg::geomet
ry, where
group3 contains multiple geode-geometry
copies of the original message.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Wednesday, December 12, 2007 2:42 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] INHERIT_RENDERBIN_DETAILS
Hi John
I'm afraid there is too little
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Martz
Sent: Friday, December 14, 2007 11:20 AM
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] INHERIT_RENDERBIN_DETAILS
Hi John -- Can you post an .osg file that demonstrates the problem in
osgviewer?
-Paul
Robert,
We
Paul,
That's not so easy to do, but I will try to create an
osgViewer app that hard-codes a scenegraph that duplicates
the behaviors we're seeing over the weekend so I can provide
the osg file. Right now we are using osgUtil::SceneViews, and
not osgViewer.
Hm. You should be able to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim Moore wrote:
Argentieri, John-P63223 wrote:
osg::group1-osg::group2-osg::group3-osg::geode-osg::geometry, where
group3 contains multiple geode-geometry children.
...
If you want the geodes to be drawn in a relative order, you have to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Argentieri, John-P63223 wrote:
Robert,
We are using getOrCreateStateSet()-setRenderBinDetails. What we have is
this:
osg::group1-osg::group2-osg::group3-osg::geode-osg::geometry, where
group3 contains multiple geode-geometry children.
Hi John
I'm afraid there is too little info provided to know what might be up
and how to fix it. StateSet::RenderBinDetails is what should be used
to control overall draw order, but you make not mention of this.
Robert.
On Dec 12, 2007 7:08 PM, Argentieri, John-P63223
[EMAIL PROTECTED] wrote:
Hi -- Not sure what you mean by priority. The render bin number specifies
relative drawing order of sibling Nodes and Drawables. If each of your
Geodes' Drawables must get drawn in a certain order, then you should set the
render bin number on the StateSet of each Geode's render bin; Drawables will
10 matches
Mail list logo