Equalizer logo
Collage logo
GPU-SD logo

PBuffer Integration

Author: cedric.stalder@gmail.com
State: Implemented in 0.9

Overview

The objective of this extension is to support render targets using shorts (float16) or float (float32). Frame Buffer Objects and PBuffers will be able to work with this new formats.

API

    class Window
    {
        int getInternalFormatColor()
    };

    enum IAttrValue
    {
        ...
        RGBA32F    = -13,
        RGBA16F    = -12,
        ...
    };

    FrameBufferObject::FrameBufferObject( GLEWContext* glewContext, const GLuint format )

    update int WGLWindow::chooseWGLPixelFormat()
    update bool GLWindow::configInitFBO()
    update bool Channel::_configInitFBO()

File Format

      global
      {
          EQ_WINDOW_IATTR_PLANES_COLOR   unsigned | RGBA16F | RGBA32F
      }

      window
      {
          attributes
          {
              planes_color    unsigned | RGBA16F | RGBA32F
          }
      }

Open Issues

The second part of implementation is to adapt the compositing.