Hi Mathias,

On 2/18/07, Mathias Fröhlich <[EMAIL PROTECTED]> wrote:
So basically I need a pre/post render Camera for each of that setups.
Pre render/rtt cameras are way too slow - at least on my setup.

Yes is the way you'd have to do it right now.

There might be cleaner ways if we teak the code though.   One thing I
have considered in the past is to allow RenderBin's to have their own
PositionalStateContainer, so you would just place a subgraph in its
own RenderBin with its local PositionStateContainer.  This would
require a mechanism for inheriting/overriding the various bins.

The other possibility is to create other means for localising
positional state to particular subgraphs, this could get quite
complicated though, so the above might be a better path.

May be I will play with post render cameras ...
Did I find that correctly that nested ones do not get a render stage?
May by an other alternative is a custom drawable for that kind of stuff ...

When Camera::RenderOrder is NESTED the subgraph won't get its own RenderStage.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to