Hello,

On Fri May   8 07:49:38 2015 Leandro Linardos <[email protected]> 
wrote:
> Is there any way to avoid cleaning the drawing buffer? 

You can use the setClearMask() function of the camera class. Normally you would 
provide the buffers which you want to be cleared. In your case you can just 
pass it a null or only clear the depth buffer. For example:

viewer.getCamera()->setClearMask(GL_DEPTH_BUFFER_BIT);
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to