I know I've asked similar questions before but now I'm looking to use OSG to 
perform temporal averaging differently than I've asked before.

Is there a way to perform an "update", "cull" and "draw" on only a sub part of 
the scene graph?

I want to average (say) 16 successive frames. For example,frames 1-16 should be 
average together and the final average being sent to the frame buffer. Same for 
frames 17-32, 33-48, etc. 

To do this, I assume I'll need 16 "cameras" all looking at the same scene 
graph. The first 15 would be rendering to a texture which is passed to the next 
camera while the last simply renders to frame buffer. Since I want to "move" 
the players slightly between each camera node, how would I do this? Normally, 
an update callback would be called on the entire scene graph but I'll have a 
"shared" scene graph so I don't think this will work.

Any words of advice?

Thanks,
Paul P.


      
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to