[osg-users] 2D rendering priority...

2010-02-09 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
All, I have a need to render a bunch of 2D geometry groups that have different priorities for display (one group rendered on top of the other according to their priority). I also need to have the ability to turn the rendering off and on for some of the groups while maintaining rendering priorit

Re: [osg-users] 2D rendering priority...

2010-02-09 Thread Paul Martz
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: I have a need to render a bunch of 2D geometry groups that have different priorities for display (one group rendered on top of the other according to their priority). I also need to have the ability to turn the rendering off and on for some

Re: [osg-users] 2D rendering priority...

2010-02-09 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
ts.openscenegraph.org] On Behalf Of Paul Martz Sent: Tuesday, February 09, 2010 4:07 PM To: OpenSceneGraph Users Subject: Re: [osg-users] 2D rendering priority... Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: > I have a need to render a bunch of 2D geometry groups that have > differ

Re: [osg-users] 2D rendering priority...

2010-02-09 Thread Chris 'Xenon' Hanson
On 2/9/2010 5:18 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: > Thanks for the reply. We can have up to 57 levels of priority where each > level could have 100-200 simple geometries (i.e. circles, squares, simple > line primitives, etc.). It's very rare that all levels are on simultane

Re: [osg-users] 2D rendering priority...

2010-02-09 Thread Christiansen, Brad
AFMC 519 SMXS/MXDEC Sent: Wednesday, 10 February 2010 8:18 AM To: OpenSceneGraph Users Subject: Re: [osg-users] 2D rendering priority... Paul, Thanks for the reply. We can have up to 57 levels of priority where each level could have 100-200 simple geometries (i.e. circles, squares, simple line

Re: [osg-users] 2D rendering priority...

2010-02-10 Thread Robert Osfield
Hi Shayne, In the svn/trunk + 2.9.x series there is support for ordering the objects in traversal order, just select the "TRAVERSAL_ORDER" bin name when setting up the RenderBin details on the StateSet's associated with the subgraph. Robert. On Tue, Feb 9, 2010 at 10:53 PM, Tueller, Shayne R Civ

Re: [osg-users] 2D rendering priority...

2010-02-10 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
: Wednesday, February 10, 2010 12:06 AM To: OpenSceneGraph Users Subject: Re: [osg-users] 2D rendering priority... Hi, I use a RenderBin / NodeMask combination to exactly this and it works well. I can elaborate more if you wish. Cheers, Brad -Original Message- From: osg-users-boun

Re: [osg-users] 2D rendering priority...

2010-02-11 Thread Christiansen, Brad
eturn leftOrder > rightOrder; } } -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tueller,Shayne R Civ USAF AFMC 519 SMXS/MXDEC Sent: Wednesday, 10 February 2010 11:49 PM To: OpenSceneGraph User

Re: [osg-users] 2D rendering priority...

2010-02-11 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
AM To: OpenSceneGraph Users Subject: Re: [osg-users] 2D rendering priority... Hi, We used this approach for rendering a 2D scene using the painters algorithm (i.e. render back to front according to our own order definition). I have included the most relevent code snippets. No comments on their quality p