[osg-users] Camera question

Wyatt Earp wyattbsearp1881 at gmail.com
Wed Nov 4 11:58:41 PST 2009

I read that discussion and not sure I follow it with respect to what I
need to do.  I think maybe mistated or didn't say enough concerning
what I meant.  If I have a prerender camera for rtt, and another
camera which will take as input the texture from the rtt camera do
some "stuff" then render to texture the output, and then a third
camera which takes camera 2s output as input and performs then final
render... what would my scenegraph look like?  I guess that is more
the question  I am really asking...

For example in osgprerender (if I understand correctly)...

root node
group - poygeom/texture
group - RTT Camera - Subgraph (cessna)

So if I were adding another pass to osgprerender, would I need to
create a scene graph like this?

root node
group - polygeom1/texture1 - polygeom2/texture2
group - RTT Camera 1 - RTT Camera 2 - Final Render Camera - Subgraph(cessna)


On Wed, Nov 4, 2009 at 1:24 PM, Paul Martz <pmartz at skew-matrix.com> wrote:
> Wyatt Earp wrote:
>> So if I want to have, say, 3 render passes of my entire scene data, I
>> need 3 cameras at the root of the scene graph, and set the render
>> order according to how I want them ordered?
> This was just discussed 2 weeks ago. Search the archives for "Repeatable
> rendering of subgraphs, ideas?".
>   -Paul
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list