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 <[email protected]> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to