[osg-users] Rendering in traversal order - how?

Glenn Waldron gwaldron at gmail.com
Sat Oct 31 06:17:19 PDT 2015


On Sat, Oct 31, 2015 at 8:43 AM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Glenn,
>
> On 31 October 2015 at 12:32, Glenn Waldron <gwaldron at gmail.com> wrote:
>
>> Robert, I get that, but since the node is created by a plugin, how do I
>> pick a RenderBin number that is guaranteed to be different? That is my
>> dilemma.
>>
>
> There isn't a way of forcing this without getting your hands dirty with
> the rendering backend.
>
> If you post process the loaded scene graph you'd be able to take account
> of what already been loaded in the application.
>
>
OK that confirms what I thought. Thanks.

I got my hands dirty and came up with a solution that appears to work,
pending lots of testing of course. Code is here if you are curious:
http://pastebin.com/zyme9vL1

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


More information about the osg-users mailing list