Framebuffer object: Difference between revisions

Content deleted Content added
m removed bad markup
No edit summary
Line 1:
The '''frame buffer object''' architecture (FBO) is an extension to [[OpenGL]] for doing ''flexible off-screen rendering'', including rendering ''to a texture''. By capturing images that would normally be drawn to the screen, it can be used to implement a large variety of image filters,
and ''post processing effects''. The FBO is analogous to the '''render targets model''' in [[DirectX]]. It is now the main choice in OpenGL because of it'sits ''superior efficiency, and ease of use''. It has largely superseded the [[pbuffer]], and other methods involving OpenGL context switching, often chosen because it does not.
 
==Uses==
Line 21:
* It is easier to setup than most other methods.
* Does not require context switching.
* Is more efficient duebecause resources beingare shared within the same context.
* Is more flexible because all of depth buffer, stencil buffer, accumulation buffer, etc. can be acquired.
 
Line 29:
attach these to a chosen receiver; either a [[texture]], or a [[render buffer]].
 
forFor example:
 
* create an FBO