[osg-users] Image capture in memory

Chris Hanson xenon at alphapixel.com
Tue May 21 13:49:23 PDT 2019


Additional note: At this time, I think it's recommended to use FBOs (Frame
Buffer Objects) instead of PBuffers.

On Tue, May 21, 2019 at 3:06 PM Catalin Flower <inbox.icf at gmail.com> wrote:

> Hi,
>
> For future reference...
>
> OSG (windows at least) supports off screen rendering without any window
> flashing on the screen by using pbuffer.
>
> When you create the Traits object, set traits->pbuffer = true;
>
> See example osgscreencapture, see pbuffer-only parameter.
>
> Start the example with osgscreencapture --pbuffer-only 512 512 cow.osg
>
> Thank you!
>
> Cheers,
> Catalin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76126#76126
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190521/cf575902/attachment.html>


More information about the osg-users mailing list