[osg-users] glCopyTexImage2D or Frame Buffer Object

Robert Osfield robert.osfield at gmail.com
Wed Apr 20 01:00:28 PDT 2011


HI Martin,

2011/4/20 "Martin Großer" <Grosser.Martin at gmx.de>:
> Ok thank you. And what do you think about osg::Texture2D::copyTexImage2D(...)? Is this a worse solution than the FBO?

In what respect?  Performance wise rendering directly to a texture
using FBO is likely to be more efficient than rendering to the frame
buffer and then using Texture2D::copyTextImage2D(..).  Using FBO's is
also more flexible as there is no need to write the frame buffer
multiple times within one frame.

Robert.



More information about the osg-users mailing list