[osg-users] Image capture in memory
Catalin Flower
inbox.icf at gmail.com
Tue May 21 06:06:31 PDT 2019
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
More information about the osg-users
mailing list