I'm not sure if I'm quite qualified to fix this one.  I'm trying to understand 
where the slaves came from. I certainly didn't create them purposefully (I'm 
using the osgprerender sample which never mentions them).  So the idea of 
propagating the callback to multiple slaves without warning seems more 
dangerous than the current behavior.

Part of me says that if there are slave cameras under a view camera, (pardon my 
idiots terminology here) there should be some trigger point once all the slaves 
have rendered and the overal scene has been generated so that the master camera 
FinalDrawCallback gets called once (rather than once per slave).

My trouble with putting this fix in is understanding what would be known by 
this master camera.  Where are the bits rendered in this scene?  Is there some 
Imagedata in each of the slaves that is what this camera would see?

I'm still a little murky on cameras in general, I come more from a Device 
Context background and the Camera in concept is pretty simple as a final 
transform from the "physical" scene onto the screen, but I'm not totally up on 
how that maps onto the almost hidden Device Context in osg.

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





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

Reply via email to