Hi Frederic,

Are you familiar with the osgViewer/osg::Camera RTT capabilities?
They are very flexible now, you can render subgraphs under an scene
graph RTT osg::Camera as a pre rendering stage then switch it off for
subsequent frames.   Have a look at the osgprerender,
osgprerendercubemap examples as well as osgShadow itself.

Robert.

On Mon, Oct 19, 2009 at 7:52 PM, Frederic Marmond <[email protected]> wrote:
> Hi all,
>
> I would like to generate a shadow map before the real scene draw, in
> order to alter it (add 3rd parties objects shadows in it) before
> applying the shadow map to the 'real' world.
> The context is that osg is called inside a custom 3D engine, so a post
> prerender callback won't be enough.
>
> How should I achieve that ?
> is there a way to do only pre-render stages, then others ?
>
> thanks in advance
>
> Fred
> _______________________________________________
> 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