Next: 13.1.4 The Imaging Subset
Up: 13.1 Introduction
Previous: 13.1.2 Geometric Drawing and
Per-fragment and framebuffer operations can be used to operate
on pixels of an image in parallel. Additionally, multiple
images may be combined in a variety of ways. Blending and the
accumulation buffer are two areas of interest.
These features are
discussed in detail in Section 8. The
accumulation buffer is particularly important since it provides
several fundamental operations:
- Scaling of an image by a constant:
- glAccumGL_MULT, <scale>(GL_MULT, <scale>)
- glAccumGL_LOAD, <scale>(GL_LOAD, <scale>)
- glAccumGL_RETURN, <scale>(GL_RETURN, <scale>)
- Biasing of an image by a constant:
- glAccumGL_ADD, <scale>(GL_ADD, <scale>)
- Clear of framebuffer with color <scale>, followed by
glAccumGL_LOAD, 1(GL_LOAD, 1)
- Linear combination of two images on a pixel-by-pixel basis:
glAccumGL_LOAD, <scale1>(GL_LOAD, <scale1>) followed by
glAccumGL_ACCUM, <scale2>(GL_ACCUM, <scale2>)
The accumulation buffer and blending are discussed in subsequent
sections in terms of the image processing operations that use them.
David Blythe
1999-08-06