Hi Chris,

On Fri, Feb 27, 2009 at 8:26 PM, Chris Glasnapp
<[email protected]> wrote:
> I guess the only reason I ask is that it seems like CullVisitor is doing
> extra work with rtts if the camera render order != NESTED_RENDER, although
> I'm not quite sure exactly how that code works, so it may be very
> lightweight. The earliest revision in svn of Camera.cpp has the default
> render order as POST_RENDER. Just trying to understand!  : )

POST_RENDER is bit more work for the cull and draw traversal to do,
but.. it provides a very distinct set of features/uses/implementation
than a NESTED_RENDER, just as as a PRE_RENDER has its own set of
users/implementation details.

For in scene graph Camera's the  POST_RENDER is typically used for
effects like HUD's.  PRE_RENDER is typically used for render to
texture effects.  NESTED_RENDER is used for when the project and view
matrix need to be overriden, but there isn't any need to clear the
colour/depth buffer.

Camera's are also used at the Viewer level, rather than in scene
graph, these high level Camera's also share lots of capabilities of in
scene graph cameras, but also have their own specific
attributes/users.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to