Svoboda | Graniru | BBC Russia | Golosameriki | Facebook

To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Framebuffer object

From Wikipedia, the free encyclopedia

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 used in OpenGL for its efficiency and ease of use. The use of FBOs doesn't suffer from the overhead associated with OpenGL drawing context switching, and has largely superseded the pbuffer and other methods involving context switches.

YouTube Encyclopedic

  • 1/1
    Views:
    16 678
  • OpenGL GLSL tutorial 7 - Frame buffer object (FBO)

Transcription

Uses

The FBO has two main uses: The post-processing of rendered images and composition between different scenes. Some examples are:

  1. The rendered image is captured and subjected to Fragment Shaders or other manipulations. This allows for many of today's popular computer graphics effects to be carried out, including the addition of a blurring or bloom effect.
  2. Can be used to create views of other scenes, for example: a TV in a house showing the view from a secondary camera. A scene can be rendered through an FBO to a texture, then that texture can be applied to the surface of a TV. This is sometimes called "Render to Texture" or RTT.

Advantages over other methods

Methods involving the FBO are considered superior because:

  • It is easier to set up than most other methods.
  • Does not require context switching.
  • Is more efficient because resources are shared within the same context.
  • Is more flexible because all of depth buffer, stencil buffer, etc. can be acquired.

Architecture

To use an FBO one simply creates an instance of it. Along with the FBO come several attachments. One can then attach these to a chosen receiver: either a texture, or a render buffer.

For example:

  • Create an FBO and bind it.
  • Attach the color buffer (either as a RenderBuffer or a texture) to the FBO.
  • Attach the depth buffer (either as a RenderBuffer or a texture) to the FBO.
  • Bind the native window FrameBuffer (id=0)
  • Render the texture to screen with a pixel shader, dependent on both the Color information and depth information.

External links

This page was last edited on 27 November 2022, at 04:18
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.