Hi Aurelien,

The OpenSceneGraph Cookbook provides a simple Depth-of-Field example that
implements post-processing work with multiple camera ndoes (not slaves).
You may have a look at it at https://github.com/xarray/osgRecipes . FYI, It
also includes an osgeffectcompositor example that provides an initial
deferred shading solution for OSG developers.

Wang Rui


2013/1/2 Aurelien Albert <[email protected]>

> Hi,
>
> I use differents custom RenderStages : as pre-renderstage for
> pre-processing and as post-renderstage for post processing.
>
> These processing are executed using FBO render targets.
>
> Currently I'm doing that with slaves cameras, but :
>  - the "RenderStage" class is derived from the "RenderBin" class
>  - it is possible to register new RenderBins using the
>  "addRenderBinPrototype" method
>
> So I wonder if it is possible to create a new RenderStage prototype to
> replace my slave cameras ?
>
> How to configure the rendertarget of these renderstages ?
>
> My goal here is to learn how to create / customize RenderStages and
> RenderBins.
>
> Thank you!
>
> Cheers,
> Aurelien
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=51746#51746
>
>
>
>
>
> _______________________________________________
> 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