Robert,

We've created our own event processing system. We need to manage a
common scene with different node masks, switch node settings, etc. The
problem is that the event traversal and update traversal happens for all
views before the cull/draw traversal. So if we follow your methods of
processing events in the event traversal or update traversal, we end up
with all views looking like the most recently created view, instead of
being unique. If I change the scene graph in the camera's final draw
callback, it works but OSG spits out a bunch of OpenGL errors for what
I'm assuming is the current frame. Thanks for your time.

Sincerely,
John 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, June 26, 2008 6:16 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgViewer help needed

Hi John,

What operation are you needing to do?

Robert.

On Tue, Jun 24, 2008 at 12:30 AM, Argentieri, John-P63223
<[EMAIL PROTECTED]> wrote:
> All,
>
> I need to have a callback from within osgViewer::CompositeViewer that 
> happens just before each graphics context's renderer does cull_draw().

> It can't be part of the cull traversal or the camera's pre-draw 
> traversal, or the update traversal. Single threaded, and right before
the cull traversal.
> Does anyone know of a way that this can be done without gutting
osgViewer?
>
> Many thanks,
> John Argentieri
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to