Skip to content
/ lfb Public

The *layered fragment buffer* (LFB) framework abstracts and provides an interface for specific deep image technique implementations. A primary use is order-independent transparency.

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENCE.txt
GPL-3.0
COPYING.txt
Notifications You must be signed in to change notification settings

pknowles/lfb

Repository files navigation

LFB

The layered fragment buffer (LFB) demo framework. An updated library from the original we introduced in the OpenGL Insights: Efficient Layered Fragment Buffer Techniques book chapter.

Includes factory style deep image construction, storage and access implementations, and attempts to abstract the LFB implementation in both C++ and GLSL. These include:

  • LFB_TYPE_B basic (3D array)
  • LFB_TYPE_LL linked lists
  • LFB_TYPE_PLL paged linked lists (Crassin spinlock)
  • LFB_TYPE_L linearized (prefix sum scan)

This project uses pyarlib for shader and GL buffer management.

The most straight forward application is order independent transparency, for which a demo application is also provided. The techniques included there are from Fast Sorting for Exact OIT of Complex Scenes.

LICENSE

This library is distributed under the terms of the GNU LGPL license. See LICENSE.txt for details.

About

The *layered fragment buffer* (LFB) framework abstracts and provides an interface for specific deep image technique implementations. A primary use is order-independent transparency.

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENCE.txt
GPL-3.0
COPYING.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published