Hi,

> the concept of post-processing is inherently non-spatial, so it really 
> doesn't belong in a scene graph at all


=> this is why I think we should be able to execute a render pass on an 
arbitrary camera : the subgraph of this camera may not have a spatial 
organization, but a process-logic organization


> Wouldn't it be better to have a list of dedicated RTT objects as described by 
> Rui, and process them as a Camera post-draw callback


=> this also my idea : have a dedicated "executeCamera" method which take a 
camera and a state as arguments : with that we can call it from a final / post 
draw call back.

Rather than a list of dedicated RTT objects which will never cover all the 
diferent use cases, I think this is better to re-use the camera class with it's 
subgraph, which already works well : by building different small sub-graph we 
can implement different processing (with a render quad as input, or with a 
point cloud, or with anything else).



Aurelien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52688#52688





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

Reply via email to