Hi David,

You don't say what operations you are actually wanting to do.  Is it
OpenGL ops?  Or just CPU based code that needs the final view matrix
from each of the viewers cameras?

Robert.

On Mon, Jun 16, 2008 at 11:09 AM, David _ <[EMAIL PROTECTED]> wrote:
> Hi
>
> we´ve got multiple views using the composite viewer
>
> right now we are doing some stuff to some nodes of the graph using the
> distance to our own camera as a parameter
>
> we do it between the update and the render
>
> osg_composite_viewer->advance();
> osg_composite_viewer->eventTraversal();
> osg_composite_viewer->updateTraversal();
>
> // our stuff goes here using our camera for this view
>
> osg_composite_viewer->renderingTraversals();
>
> our problem is that we would like to do these things before each view gets
> rendered and the composite viewer encapsulates all the renders in just one
> function call. We would like to make some things before each render call
>
> Is there any way of executing some code before each one of the composite
> views get rendered??? a callback or something??
>
> thanks
>
> ________________________________
> Todo ruedas: información práctica y todo el glamour del mundo del motor. MSN
> Estilo y Tendencias
> _______________________________________________
> 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.org

Reply via email to