Hi Anthousis,
a RenderStage has its own buffer attachment map (_bufferAttachmentMap) which is 
initialized in runCameraSetUp using the one of the camera. So the map of the 
RenderStage is actually used for rendering and should be used by your addition 
instead of reading from the camera a second time.

In most cases your solution should work. However if the scene is drawn between 
a change of camera attachments and running runCameraSetUp camera attachment map 
and RenderStage attachment map are out of sync.

Best Regards
Dietmar Funck

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





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

Reply via email to