[osg-users] Image capture in memory

Catalin Flower inbox.icf at gmail.com
Wed Apr 24 02:12:49 PDT 2019


pbuffer seems to be the old way of doing offscreen rendering.

Pbuffers and Frame buffer objects (FBO) are two methods for rendering to an offscreen buffer
The major difference between a Pbuffer and an FBO is that each Pbuffer needs its seperate OpenGL context, as opposed to FBOs where you can have as many FBOs as (sanely) possible in one OpenGL context.
Pbuffers are older and considered obsolete, the FBO extension is the best method for rendering to textures as of now, in my opinion.

By default osgposter uses frame buffer objects:
   osg::Camera::RenderTargetImplementation renderImplementation = osg::Camera::FRAME_BUFFER_OBJECT;

Thank you!


Read this topic online here:

More information about the osg-users mailing list