[osg-users] Read frame buffer back into main memory

Lionel Lagarde lionel.lagarde at oktal-se.fr
Wed Feb 28 23:30:11 PST 2018


Hi,

Have a look to glReadPixel. The osg::Image class has a method to read 
the frame buffer back to its own memory.


On 28/02/2018 19:05, Antoine Rennuit wrote:
> Hi all,
>
> I need to read the frame buffer back into the main memory. I know this will kill performance but I only need to do it once.
>
> Is there a way to do that? I could not find clear answers on the internet.
>
> Thanks,
>
> Antoine.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72990#72990
>
>
>
>
>
> _______________________________________________
> 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