Framebuffer Object

Framebuffer Object

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 FBO's doesn't suffer from the overhead associated with context switching, and has largely superseded the pbuffer and other methods involving context switches.

Uses

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

Some examples are:
# The rendered image is captured and subjected to Pixel Shaders or other manipulations. This allows for many of todays popular computer graphics effects to be carried out, including the addition of a blurring or bloom effect.
# Can be used to create views of other scenes, for example: a TV in a house. 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, accumulation buffer, etc. can be acquired.

Architecture

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

For example:
* Create an FBO.
* Attach the color buffer to a texture.
* Attach the depth buffer to a texture.
* Render the texture to screen with a pixel shader, dependent on both the Color information and depth information.

External links

* [http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_object.txt Framebuffer object technical paper]
* [http://openvidia.sourceforge.net/fbo.shtml Framebuffer object reference at openvidia]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Framebuffer Object — Als Framebuffer Object (FBO) wird eine Erweiterung von OpenGL bezeichnet, die flexibles und plattformunabhängiges Offscreen Rendering ermöglicht. Sie ist mit dem Render Targets Model von DirectX vergleichbar. Beide Erweiterungen erlauben es nicht …   Deutsch Wikipedia

  • X video extension — The X video extension, often abbreviated as XVideo or Xv, is a video output mechanism for the X Window System. The protocol was designed by David Carver; the specification for version 2 of the protocol was written in July 1991. Its main use today …   Wikipedia

  • Расширение X video — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

  • FBO — steht für: Framebuffer Object, eine Erweiterung von OpenGL, die Offscreen Rendering ermöglicht das Freiburger Barockorchester Film Booking Offices of America, ehemaliges amerikanisches Filmverleih und Filmproduktionsunternehmen …   Deutsch Wikipedia

  • XVideo — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

  • X video — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

  • Xv — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

  • Xvideo — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

  • Видеорасширение X — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

  • Расширение Xvideo — Расширение X video, чаще сокращаемое до XVideo или Xv обеспечивает механизм вывода видео в X Window System. Изначально протокол был разработан Девидом Карвером, а его текущая версия (вторая) была написана в Июле 1991. Основным его назначением и… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”