[osg-users] Avoid cleaning drawing buffer
    Robert Osfield 
    robert.osfield at gmail.com
       
    Fri May  8 01:22:30 PDT 2015
    
    
  
Hi Leandro,
The osg::Camera::setClearMask(..) is what you want to use.  Have a
look at the osghud example to see an example of it's use.
Robert.
On 8 May 2015 at 05:49, Leandro Linardos <leandro.linardos at gmail.com> wrote:
> Hi,
>
> Is there any way to avoid cleaning the drawing buffer?
>
> I want to get a behaviour similar to the preserveDrawingBuffer in Three.js (http://threejs.org/docs/#Reference/Renderers/WebGLRenderer) to leave traces behind a moving object.
>
> Thank you!
>
> Cheers,
> Leandro
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63663#63663
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
    
    
More information about the osg-users
mailing list