[osg-users] glCopyTexImage2D or Frame Buffer Object

John Ivar Haugland john.haugland at gmail.com
Tue Apr 26 00:54:04 PDT 2011


Robert,

How do you arrange the camera setup so that two cameras share the same FBO ?

John Ivar Haugland

On Wed, Apr 20, 2011 at 10:00 AM, Robert Osfield
<robert.osfield at gmail.com>wrote:

> 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.
>  _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20110426/8fe38eb0/attachment-0004.htm>


More information about the osg-users mailing list